Thank you for your help. But if I change the default console encoding,will it affect other programs,making other console program show messy code?
On 2014年5月11日 格林尼治标准时间+0800下午1时18分42秒, FrankLike via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote: >On Sunday, 11 May 2014 at 02:38:44 UTC, 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 >You can get answer from here: >http://forum.dlang.org/thread/ucfpqgzzxcacqxkdr...@forum.dlang.org > >.