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):
- Open/run
cmd.exe
- Click on the icon at the top-left corner
- Select properties
- Then "Font" bar
- Select "Lucida Console" and OK.
- Write
Chcp 10000
at the prompt
- Finally
dir /b
Enjoy your clean UTF-16 output with hearts, Chinese signs, and much more!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…