tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alec" <alec...@msa.hinet.net>
Subject Re: Tomcat 4.0.2 b multibyte issue.
Date Sat, 12 Jan 2002 03:34:25 GMT
The JSP spec assumes a default character encoding of ISO-8859-1 for GET/POST
parameters.
You will need to convert the parameter strings received by servlets/JSP
pages into bytes with
their character encoding as ISO-8859-1 and convert them back to Java strings
with your own
favorite character encoding(s).

----- Original Message -----
From: "Thom Park" <tpark@borland.com>
To: "tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Saturday, January 12, 2002 3:11 AM
Subject: Tomcat 4.0.2 b multibyte issue.


> Craig et.al.
>
> Recently I posted a vague question w.r.t. Multi-byte support in tomcat
> 4.0.2.
> Somewhat similar to the oracle at delphi, by asking a general question,
> I got a general answer.
>
> I now have a specific case where there appears to be a problem with
> multi-byte support in the
> latest tomcat.
>
> In the attached jsp, try cutting and pasting the double-byte chinese
> character displayed by the browser
> into the input field and hit the submit button.
>
> You should see that the character does not get displayed correctly.
>
> Is this a usage problem on my part or some problem with the character
> encoding?
>
> It appears to indicate that the somehow the byte stream is not being
> interpreted properly by tomcat.
>
> -Thom
>
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message