encoding - Display japanese characters in java -
i reading string oracle db , trying print standard output, printing different string see after retrieved it
package project1; public class testjapchar { public testjapchar() { super(); } public static void main(string[] argv){ string str = "新人研修交通費 "; system.out.println("original string : " + str); }
}
the result of execution : *original string : æ–°äººç ”ä¿®äº¤é€šè²»ã€€ *
i running script in jdeveloper , my environment encoding set utf-8.
upd. compiled code -encoding option "utf-8", output : original string : 7/31????????
Comments
Post a Comment