Can you try this:
String char1="\u4e16\u754c\u4f60\u597d"; System.out.println(char1);
Equivalent sequences are resolved by the javac compiler to the corresponding Unicode code points, so you are not dependent on the actual encoding of the source code. Any remaining display problems should be caused by the console or an incomplete font.
PS: In my Netbeans installation (7.0 M2 on Ubuntu Linux), both lines basically work, with the exception of the third character, which appears as a field.
source share