tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niu Kun <>
Subject Problem about posting Chinese characters to tomcat server.
Date Sun, 01 Jul 2007 14:16:32 GMT
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.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message