I have a java class which is used for reading a Japanese text file with encoding "Shift_JIS, actually
I use java.util.MessageFormat to load the text file and
store it into a string, then output the string into the jsp.
However I found that when the string is loaded in the jsp or in the system.out, some of the characters cannot be
displayed and it turns to ?. Anyway, I have tried to read
the text file by using java.io with specified locale and output to the text file, it works but it doesn't work when
I stored the japanese characters into string.
Anybody can help me?