On 05/06/2014 04:56 PM, FrankLike wrote:

> On Tuesday, 6 May 2014 at 15:03:11 UTC, Regan Heath wrote:

>> IIRC you need to type "chcp 65001" and set the command prompt to the
>> Lucida font...
>>
>> R
>
> No,it's error.My OS is windows 7,chcp 936. SimpleChinese.
> I use the 'go language' to test

I don't know how go works but code page 936 is not Unicode. D's output on the other hand, is Unicode.

> 'fmt.println("一, 二")'
> Then  execute result is :一, 二.
> It's ok.

It means that the go program's output is in code page 936.

> But D is error:涓C,浜?.

That is understandable: Since the console is set to 936, it interprets D program's UTF-8 output incorrectly.

Please do what Regan Heath says and test again:

1) Set the code page to 65001

2) Use a font that includes your Unicode characters

Ali

Reply via email to