That is understandable: Since the console is set to 936, it interprets D program's UTF-8 output incorrectly.

Please do what Regan Heath says and test again:

1) Set the code page to 65001

2) Use a font that includes your Unicode characters

Ali

Thank you.

I modify  it by the 'Regedit'(my OS is windows 7 x64):
open Regedit, find 'HKEY_CURRENT_USER\Console'
find the CodePage,Double Click,
then modify the type to 'decimal system',and modify the value to 65001.
That's all.

Thank you,everyone.

Frank.

Reply via email to