On Wednesday 28 August 2002 13:17, you wrote:
> Hi
>
> I am using tomact 4.0.4 and JDK1.3.1
>
> I am trying to read parameter in hebrew from the URL but get '???' writing
> Hebrew to the browser works fine
>
> I can not use req.setCharacterEncoding(java.lang.String env) (can not
> compile the code when I am using it)
>
> is there a way to go around it. I am very flexiable in choosing the JDK and
> TOMCAT version to work with but they need to be release version and not
> beta or something like this
>

You can use followed form just with right encoding for you, W3C has foreseen 
the atribute accept-charset for element/tag form. Then your request object 
will have right encoding too


<form action="action.jsp" method="POST" accept-charset="ISO-8859-5">
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
...........

</form>

ilis

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to