Originally posted by Campbell Ritchie:
You're welcome. Got a bit more time now, and have found my old post, here. The quote I posted suggests you probably will have to use UTF-16.
Thanks for the post.
This is what I have come to understand. If there is anything to correct from the list or add to it, please let me know
We can use either UTF-8 (should be used if there is plenty of Western text too. Otherwise it becomes less efficient, often using 3 bytes and even 4 per char) or UTF-16 without any problems. The only things that one need to watch out for while using Japanese characters are
1. Reading and Writing of files should be done using Reader/Writer (
Java internally handles the encoding) and not InputStream/OutputStream
2. If there is any other software that is being used (like XML parsers), they should also use the same encoding (UTF-8 or UTF-16) with which the file (which needs to be parsed) was created.
3. Database encoding is another thing to ensure is correct