This content has been marked as final.
Show 1 reply
-
1. Re: Don't supporting chinese problem
fender_rules Jan 19, 2003 7:56 PM (in response to javang)It depends on your charset settings of JSP pages and database. First, check to see if it shows chinese characters correctly when you change character encoding of your browser. If it doesn't, check if charset attribute value of page directive matches the actual encoding of the JSP file. If you find only text read from dabase are garbled, then you should encode the string yourself like "text = new String(text.getBytes("EUC-KR"), "8859_1")", or try changing the default charset of your dbms.
The easiest way to support i18n is use UTF-8 encoding everywhere. It saves you from manual encoding hassle and also provide greater flexibility.
Hope this might help you.
Xavier