String japanText = "\u65e5\u672C\u8A9E";
PrintStream out = new PrintStream(System.out,true,"UTF-8");
out.println(japanText);
See this code execute 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?
p.s. have changed chcp 65001