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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -