Best article I have found so far on this subject, is this one....
It seems that POST is more difficult than GET.... http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/

good luck...

----- Original Message ----- From: "Niu Kun" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Sunday, July 01, 2007 4:16 PM
Subject: Problem about posting Chinese characters to tomcat server.


Dear all,

I've just got a simple form to post Chinese characters to my jsp file.
But the data submitted can't be seen on my web browser.
After analyzing the data posted and shown on my browser, I find the
following problem.

The letters I submit are "e7 89 9b e5 9d a4" which are in UTF-8 form.
And the letters catched on the return webpage are
"c3 a7 c2 89 c2 9b c3 a5 c2 9d c2 a4".
We can see that each single character is doubled.
Each one is first prefixed with "c3" and then two "c2".
It's true that I add URIEncoding="UTF-8" to my connector's parameter list.
And all my files are encoded as "UTF-8" format.

My tomcat version is 5.5.
My jdk is 1.5.
And my os is Debian lenny.

Any help would be appreciated and thanks in advance.

Regards


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to