0
1
When I change my System Locale to a Simplified Chinese (PRC), and I open cmd.exe, a dir
command will display the Chinese character file names correctly.
If my System Locale is English (United States), a dir
will screw up the Chinese characters.
How can I make the dir
display Chinese characters correctly under the English locale?
I've looked at related questions to displaying Chinese characters in cmd.exe but none of them make note of the fact that it works perfectly fine the Simplified Chinese locale.
1Does the
chcp 65001
command help? – Karan – 2013-04-18T21:29:07.627Not really. It changes the code pages without changing the available fonts. I've also tried various hacks for changing the fonts directly but those did not pan out either. – merlin2011 – 2013-04-18T22:03:33.733
In addition to the chcp command try setting Lucida Console as the font for the command prompt window from its properties. – Karan – 2013-04-18T22:16:11.950
Thanks, but I have tried that combination as well, and the Chinese characters in the file names still come out as boxes when I run the
dir
command. I think it is not just specific to cmd.exe but specific to the commanddir
itself, and its behavior under different locales. – merlin2011 – 2013-04-18T22:23:36.563