Win10如何打开cmd命令窗口:Win10CMD不显示日文符号(java代码)

String japanText = "\u65e5\u672C\u8A9E";
PrintStream out = new PrintStream(System.out,true,"UTF-8");
out.println(japanText);

看到这个代码执行on IdeOne.com

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? enter image description here

enter image description here

p.s.已更改 chcp 65001

本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处

(180)
Oppo声卡代码:启动OPPOA16的自动启动意图(com.coloros.safecenter)
上一篇
B/s和c/s区别:( char&c:s)和(charc:s)之间的区别
下一篇

相关推荐

发表评论

登录 后才能评论

评论列表(64条)