I've created the directory "•◘▬¨ŤlCęół♥☺☻0" and I would like to make it visible with dir /b command. So far, chcp 10000, chcp 10001 and chcp 65000(utf-8) commands failed(the original name was displayed by "The system cannot write to the specified device", or by empty string, or unicode characters was replaced/ignored. What's the reason and how to fix it? The official documentation isn't helpful :(
To start it from the taskbar or anywhere else, make a shortcut (you can name it cmd. unicode.exe or whatever you like) and change its Target to C:\Windows\System32\cmd.exe /K chcp 65001 .
AFAIK, CMD has perfect support for Unicode; you can enter/output all Unicode chars when any codepage is active.
In Windows, you can type any character you want by holding down the ALT key, typing a sequence of numbers, then releasing the ALT key.
Yeah,I've just resolved my problem. It was a fault of default font in cmd.exe which can't manage unicode signs. To fix it(windows 7 x64 pro):
cmd.exe
Chcp 10000
at the promptdir /b
Enjoy your clean UTF-16 output with hearts, Chinese signs, and much more!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With