You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by li...@yahoo.com on 2002/08/27 12:27:14 UTC

setCharacterEncoding(java.lang.String env) problem

Hi all
I am using tomcat 4.0.4
with jdk1.3.1
I can not compile a servlet with the
req.setCharacterEncoding(java.lang.String env) 
I need this baddly (Use hebrew in a url as parameter)
Is there any way to go around this Maybe setting the
default character Encoding for all servlets running on
this server (good for me) I tried to use 

param = new String (param.getBytes
(charEncod),charEncod)

Did not work
Please help
Thanks in advance
Nehemia Litterat

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>