how to use chinese and japanese character as string in java?

后端 未结 4 895

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 tha

4条回答
  •  囚心锁ツ
    2020-11-27 21:33

    A bit outdated but it made me wow!

    http://xahlee.org/java-a-day/unicode_in_java.html

    The article is about variable naming bu from that you can tell it's sufficient to write your chinese/japanese string directly in your source.

提交回复
热议问题