Hi Fred, In the html header u will have to set the char set as SHIFT JIS. And in the browser SHIFT JIS should be set.
Regards, Punam -----Original Message----- From: Fred Whipple [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 8:01 PM To: [EMAIL PROTECTED] Subject: Japanese Characters in JSP's Hi All, I'm having a bit of trouble with getting JSP's with Japanese characters within them. I'm working with a Windows XP system with JDK 1.4.2 and Tomcat 4.1.24. The problem seems persistent, though, on RH Linux with JDK 1.4.1_03 as well. I have no problem with Russian, Arabic, Hebrew, and other non-Latin-1 character sets, just Japanese (so far). More confusing, my test file is a very simple HTML document that Tomcat services properly when I'm simply calling it as an HTML file, such as: http://localhost:8080/testfile.html All I do is rename it to testfile.jsp, and it comes out all garbled. I've done the same test with a myriad of HTML files with various character sets including cp1251, iso8859-5, etc. Everything works fine except for Japanese -- I believe my file uses Shift_JIS. I don't have test files for other multi-byte character sets so I've no idea if it's exclusive to Japanese or if, for example, Chinese would not work either. I've also tried adding response.setLocale (new java.util.Locale ("ja")) to the top of the page; it made no difference. I've also tried reading everything I could find, and I'm empty handed. This seems like it shouldn't be quite as difficult as it is. TIA! -Fred --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
