Re: Japanese Characters in JSP's

2003-08-14 Thread Bill Barker
I don't know why cp1251 et. al. work (probably they are single-byte encodings, and shift_jis is multi-byte). However, try adding: <[EMAIL PROTECTED] contentType="text/html; charset=shift_jis" %> to your page. This will tell Tomcat that the Writer should use "shift_jis" as it's encoding. Since yo

Japanese Characters in JSP's

2003-08-12 Thread Fred Whipple
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 ot

RE: Japanese Characters in JSP's

2003-08-11 Thread Punam Mutha
omcat Users List' Subject: RE: Japanese Characters in JSP's Thank you, Punam, for the suggestion -- However this is already specified both in the HTML file, and my browser is setup and capable of viewing x-sjis. This is illustrated by the fact that the exact same file works perfectly under

RE: Japanese Characters in JSP's

2003-08-11 Thread Fred Whipple
Thank you, Punam, for the suggestion -- However this is already specified both in the HTML file, and my browser is setup and capable of viewing x-sjis. This is illustrated by the fact that the exact same file works perfectly under Tomcat so long as its file extension is .html and not .jsp. Only w

RE: Japanese Characters in JSP's

2003-08-11 Thread Punam Mutha
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