On 05/10/2014 07:19 PM, IceNature via Digitalmars-d-learn wrote:
When there are Chinese characters in the output, the console will       display 
messy code.I change the encoding of the source file into       UTF-8 or 
UTF-16,but the messy code is still there...
        I use the dmd 2.065,Visual Studio 2013 with VisualD.
        How to solve this problem?
        Thank you!


If this is on Windows, you must

1) Set the console code page to 65001 e.g. by the command

  chcp 65001

(It is possible to make it the default through a Windows registry setting.)

2) Set the font to a unicode one e.g. Lucida

Ali

Reply via email to