RE: Tomcat and Hex characters

2010-07-13 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat and Hex characters > > When you mention "running under JBOSS", does that mean that there is > some webserver in front of Tomcat ? Probably not. JBoss uses an embedded version of Tomcat as its web serv

Re: Tomcat and Hex characters

2010-07-13 Thread André Warnier
Hi. Independently of the questions of character set encodings and settings (for that, really read the FAQ to which Chuck pointed you), the fact that you wrote this : ... The only thing that seems to work is if i replace the % in the hex value of the UTF encoded string by %25 makes me susp

Re: Tomcat and Hex characters

2010-07-13 Thread Mitch Claborn
This may help. If any of the filters in the chain do any kind of read to the input stream, then the encoding is fixed from that point on. I had a similar problem with Struts in Tomcat. I solved it by putting a filter in the chain ahead of sturts and calling req.setCharacterEncoding("UTF-8"

RE: Tomcat and Hex characters

2010-07-13 Thread Caldarale, Charles R
> From: arun kumar [mailto:arunbha...@yahoo.com] > Subject: Tomcat and Hex characters > > What do i have to do to be able to pass hex values of > UTF-8 encoded strings that represent characters of > foreign languages (like say Chines/Japanese) to my > servlet so it is read correctly? Start by