It is the third time I try to send this message to the list and it doesn't seem to end 
up being posted so here it is again !

Alexius,
It is working on my computer and here is how I did it. It might not be the only way 
but at least it works !

I wanted to localize the literals in my pages so I wrote a custom tag. It was working 
perfectly with 2 single bytes languages(english and french).
For japanese charracters, I moved my java file to a double byte computer, typed the 
kanjis were they needed to be in this file and compile on the double byte computer. I 
then copied the file back to the single byte computer and added the following to the 
JSP page:
<%@ page import="i18nLocale" buffer="none" autoFlush="true" contentType="text/html; 
charset=SHIFT_JIS" %>

And now I can serve the JSP pages in japanese too.

What I noticed however is that when I simply copied the single byte java file and 
added the kanjis on the double byte computer, it didn't work. I actually had to create 
a new file on the double byte computer and copy/paste the content of the single byte 
file in the double byte file. If I didn't do that the kanjis were interpreted as 
garbage by the single byte computer.

It's a little bit complicated but it works!

Pascal BLANC

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to