Re: Problem displaying Shift-JIS Japanese in Tomcat 4
We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. Other issues -- The old 8th bit problem should not occur if you are using localhost, I think. If you are ftp-ing to a remote host, do you have ftp set to force binary so your files arrive intact? What about your text editor? Is it saving your files in something else, say, UNICODE? HTH Joel Rees - Original Message - From: "Antony Stace" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 4:57 PM Subject: Problem displaying Shift-JIS Japanese in Tomcat 4 Hi I have a very simply jsp page. It has こんにちは in shift-jis format in it. However when I display this page I get garbage where こんいちは is. Is there any configuration that I need to do to enable Japanese characters to be displayed. At the top of the file I have contentType="text/html; charset=Shift_JIS" -- Cheers Tony。 - _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem displaying Shift-JIS Japanese in Tomcat 4
Hi Joel On Tue, 5 Feb 2002 18:34:56 +0900 Joel Rees [EMAIL PROTECTED] wrote: We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. I have tried IE 5.5/6.0 and a Mozilla build from yeasterday. So I guess its not the browser. Which coding scheme do you use? EUC, JIS, SHIFT_JIS ?? Other issues -- The old 8th bit problem should not occur if you are using localhost, I think. If you are ftp-ing to a remote host, do you have ftp set to force binary so your files arrive intact? What about your text editor? Is it saving your files in something else, say, UNICODE? I have checked the file type of the files using nkf and kcc, and I am quite sure they are in Shift_JIS format. Ummmnot sure where to go from here. Cheers Tony _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem displaying Shift-JIS Japanese in Tomcat 4
On Tue, 5 Feb 2002 18:34:56 +0900 Joel Rees [EMAIL PROTECTED] wrote: We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. Other issues -- The old 8th bit problem should not occur if you are using localhost, I think. If you are ftp-ing to a remote host, do you have ftp set to force binary so your files arrive intact? What about your text editor? Is it saving your files in something else, say, UNICODE? HTH I worked out the problem. I was using jikes to compile the jsp files in Tomcat. It seems that jikes does not support Japanese Characters. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem displaying Shift-JIS Japanese in Tomcat 4
I worked out the problem. I was using jikes to compile the jsp files in Tomcat. It seems that jikes does not support Japanese Characters. That's useful to know. Oh, since you asked, we do most of our work in shift-jis. I expect to see Unicode gradually become more popular in the next several (five-ten?) years, but the prevaling attitude in Japan seems to be to let others do the heavy lifting concerning Unicode. Joel -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem displaying Shift-JIS Japanese in Tomcat 4
%@ page language="java" contentType="text/html" % html head meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS" /head body /body /html - Original Message - From: "Joel Rees" [EMAIL PROTECTED] To: "Tomcat Users List" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 17:34 Subject: Re: Problem displaying Shift-JIS Japanese in Tomcat 4 We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. Other issues -- The old 8th bit problem should not occur if you are using localhost, I think. If you are ftp-ing to a remote host, do you have ftp set to force binary so your files arrive intact? What about your text editor? Is it saving your files in something else, say, UNICODE? HTH Joel Rees - Original Message - From: "Antony Stace" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 4:57 PM Subject: Problem displaying Shift-JIS Japanese in Tomcat 4 Hi I have a very simply jsp page. It has こんにちは in shift-jis format in it. However when I display this page I get garbage where こんいちは is. Is there any configuration that I need to do to enable Japanese characters to be displayed. At the top of the file I have contentType="text/html; charset=Shift_JIS" -- Cheers Tony。 - _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem displaying Shift-JIS Japanese in Tomcat 4
On Wed, 6 Feb 2002 09:37:30 +0800 "Galbayar" [EMAIL PROTECTED] wrote: %@ page language="java" contentType="text/html" % html head meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS" /head body /body /html I have %@ page contentType="text/html; charset=Shift_JIS" %(I am using Struts) in all my jsp files. When I change the compiler for the jsp files in the tomcat configuration file from /usr/java/j2sdk1.4.0/bin/javac to /usr/bin/jikes the problem occurs. Which leads me to think it is jikes causing the problem. Cheers Tony - Original Message - From: "Joel Rees" [EMAIL PROTECTED] To: "Tomcat Users List" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 17:34 Subject: Re: Problem displaying Shift-JIS Japanese in Tomcat 4 We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. Other issues -- The old 8th bit problem should not occur if you are using localhost, I think. If you are ftp-ing to a remote host, do you have ftp set to force binary so your files arrive intact? What about your text editor? Is it saving your files in something else, say, UNICODE? HTH Joel Rees - Original Message - From: "Antony Stace" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 4:57 PM Subject: Problem displaying Shift-JIS Japanese in Tomcat 4 Hi I have a very simply jsp page. It has こんにちは in shift-jis format in it. However when I display this page I get garbage where こんいちは is. Is there any configuration that I need to do to enable Japanese characters to be displayed. At the top of the file I have contentType="text/html; charset=Shift_JIS" -- Cheers Tony。 - _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Cheers Tony。 - _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Problem displaying Shift-JIS Japanese in Tomcat 4
Hi I have a very simply jsp page. It has こんにちは in shift-jis format in it. However when I display this page I get garbage where こんいちは is. Is there any configuration that I need to do to enable Japanese characters to be displayed. At the top of the file I have contentType="text/html; charset=Shift_JIS" -- Cheers Tony。 - _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]