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 you can see the page as a ".html" file, you shouldn't need <[EMAIL PROTECTED] pageEncoding="shift_jis" %>, but if you ever save the file as "shift_jis", then you will need this directive as well. "Fred Whipple" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 when Tomcat tries to compile the file into a Servlet > does it give me any trouble. > > -Fred > > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]