DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31817>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31817

The Chinese Encoding Problem





------- Additional Comments From [EMAIL PROTECTED]  2004-10-22 01:22 -------
To Joe Germuska:
I think the problem is generated as follow.
1.The property file use the locale relate encoding to encode the word(like 
me,it use the gb2312)
2.When the resource file is reading into the struts,it will convert this word 
in the standart format(ISO-8859-1)
3.And if i specified the charset in my jsp file like this(<[EMAIL PROTECTED] 
contentType="text/html;charset=gb2312"%>),it then will convert the word which 
using the ISO-8859-1 charset to gb2312,and the problem happen.
I think this process may happen in each locale where they didn't use the ISO-
8859-1 or compatible charset as the default charset.

And I think if we add an additional step2.5 between the step2 and step3,and 
doing the convertion from ISO-8859-1 back to the original locale relate 
charset,the problem can solve easily,and this method has no affect to the 
locale where use ISO-8859-1 as the default charset.

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

Reply via email to