Re: Messy code in console

2014-05-13 Thread IceNature via Digitalmars-d-learn
I see... I will search the document. Thank you. On 2014年5月13日 格林尼治标准时间+0800下午1时58分20秒, "Ali Çehreli via Digitalmars-d-learn" wrote: >On 05/12/2014 09:53 PM, IceNature via Digitalmars-d-learn wrote: > > > I've just thought of a problem. Others who uses my program on their > > computers needs to c

Re: Messy code in console

2014-05-12 Thread Ali Çehreli via Digitalmars-d-learn
On 05/12/2014 09:53 PM, IceNature via Digitalmars-d-learn wrote: > I've just thought of a problem. Others who uses my program on their > computers needs to change their setting. It is a bit troublesome. It is also possible to set the code page when the program is running: http://forum.dlang.or

Re: Messy code in console

2014-05-12 Thread IceNature via Digitalmars-d-learn
I've just thought of a problem. Others who uses my program on their computers needs to change their setting. It is a bit troublesome. On 2014年5月11日 格林尼治标准时间+0800下午3时43分41秒, FrankLike via Digitalmars-d-learn wrote: >On Sunday, 11 May 2014 at 06:35:26 UTC, IceNature via >Digitalmars-d-learn wrot

Re: Messy code in console

2014-05-11 Thread Kagamin via Digitalmars-d-learn
On Sunday, 11 May 2014 at 08:48:43 UTC, FreeSlave wrote: On Sunday, 11 May 2014 at 07:43:07 UTC, Kagamin wrote: Known bug https://issues.dlang.org/show_bug.cgi?id=2742 It's not bug. Write-functions are designed to output text to stdout, and it's issue of programmer to make sure that expected

Re: Messy code in console

2014-05-11 Thread FreeSlave via Digitalmars-d-learn
On Sunday, 11 May 2014 at 07:43:07 UTC, Kagamin wrote: Known bug https://issues.dlang.org/show_bug.cgi?id=2742 It's not bug. Write-functions are designed to output text to stdout, and it's issue of programmer to make sure that expected "acceptor" can interpret them properly. Note that stdout

Re: Messy code in console

2014-05-11 Thread IceNature via Digitalmars-d-learn
The problem has been solved with your help. Thank you very much. On 2014年5月11日 格林尼治标准时间+0800下午3时43分41秒, FrankLike via Digitalmars-d-learn wrote: >On Sunday, 11 May 2014 at 06:35:26 UTC, IceNature via >Digitalmars-d-learn wrote: >> Thank you for your help. But if I change the default console >>

Re: Messy code in console

2014-05-11 Thread FrankLike via Digitalmars-d-learn
On Sunday, 11 May 2014 at 06:35:26 UTC, IceNature via Digitalmars-d-learn wrote: 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? Don't affect,and you must set the font to a unicode font ,such

Re: Messy code in console

2014-05-11 Thread Kagamin via Digitalmars-d-learn
Known bug https://issues.dlang.org/show_bug.cgi?id=2742

Re: Messy code in console

2014-05-10 Thread IceNature via Digitalmars-d-learn
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" wrote: >On 05/10/2014 07:19 PM, IceNature via Digitalmars-d-learn wrote: >> When

Re: Messy code in console

2014-05-10 Thread IceNature via Digitalmars-d-learn
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 wrote: >On Sunday, 11 May 2014 at 02:38:44 UTC, IceNature via >Digitalmars-

Re: Messy code in console

2014-05-10 Thread FrankLike via Digitalmars-d-learn
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

Re: Messy code in console

2014-05-10 Thread Ali Çehreli via Digitalmars-d-learn
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

Messy code in console

2014-05-10 Thread IceNature via Digitalmars-d-learn
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?