Maybe you should url-encode them first before sending them to client through ajax response.
2007/4/28, Dave Newton <[EMAIL PROTECTED]>:
--- red phoenix <[EMAIL PROTECTED]> wrote: > when ajax receive information which include Chinese > code from action of Struts2,ajax will show chinese > code into confusion code,but if ajax receive > information which include Chinese code from jsp, > ajax will show correct Chinese code.I don't know why > raise this error! How to correct it? I believe that in order to compile I18N code you must do two things: make sure your source is in an I18N format and tell the compiler to use that encoding. I think with Sun's compiler you can use the -encoding option. d. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Wong Tseng 王曾