<html><head></head><body>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?<br><br><div class="gmail_quote">On 2014年5月11日 格林尼治标准时间+0800下午1时18分42秒, FrankLike via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Sunday, 11 May 2014 at 02:38:44 UTC, IceNature via <br />Digitalmars-d-learn wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> When there are Chinese characters in the output, the console <br /> will       display messy code.I change the encoding of the <br /> source file into       UTF-8 or UTF-16,but the messy code is <br /> still there...<br />        I use the dmd 2.065,Visual Studio 2013 with VisualD.<br />        How to solve this problem?<br />        Thank you<br /></blockquote>You can get answer from here:<br /><a href="http://forum.dlang.org/thread/ucfpqgzzxcacqxkdrkmj@forum.dlang.org">http://forum.dlang.org/thread/ucfpqgzzxcacqxkdrkmj@forum.dlang.org</a><br /><br />.<br /><br /></pre></blockquote></div></body></html>