Thank you for your help. But if I change the default setting,will it affect 
other programs,making other console program show messy code?

On 2014年5月11日 格林尼治标准时间+0800下午12时30分40秒, "Ali Çehreli via Digitalmars-d-learn" 
<digitalmars-d-learn@puremagic.com> wrote:
>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