how to use chinese and japanese character as string in java?
问题 Hi I am using java language. In this I have to use some chinese, japanese character as the string and print using System.out.println(). How can I do that? Thanks 回答1: Java Strings support Unicode, so Chinese and Japanese is no problem. Other tools (such as text editors) and your OS shell probably need to be told about it, though. When reading or printing Unicode data, you have to make sure that the console or stream also supports Unicode (otherwise it will likely be replaced with question