Something about Chinese Disorder Code

magicdmer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 26 18:00:36 PST 2015


On Thursday, 26 November 2015 at 09:59:01 UTC, Marc Schütz wrote:
> No, I'm talking specifically about the cast in there, not the 
> call to setlocale(). Does it still work if you replace this:
>
>     setlocale(0, cast(char*)"china");
>
> by that:
>
>     setlocale(0, "china");
>
> ?

yes Of course,it works well :)
I copy the code from internet and not notice that,thank you



More information about the Digitalmars-d-learn mailing list