String japanText = "\u65e5\u672C\u8A9E";
PrintStream out = new PrintStream(System.out,true,"UTF-8");
out.println(japanText);
看到这个代码执行on IdeOne。
This Java code gives Japanese text in ConEmu console, but not working in classic win10 cmd and Powershell as well. Is there any way to make it work?
p.s.已更改 chcp 65001
本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处
评论列表(80条)