Re: Asian characters are not printed propely in console

2011-01-05 Thread bearophile
Vladimir Panteleev: > This code should really be in the standard library, I think. File a bug report, with a little patch, then :-) Bye, bearophile

Re: Asian characters are not printed propely in console

2011-01-05 Thread torhu
On 04.01.2011 10:47, Jun wrote: I'm sorry for posting in the wrong place. I attached screenshot of my code and the result. As you can see, Korean letters get changed after compilation. This problem doesn't happen with user input(from readln() method). Should I use different type and prefix or

Re: Asian characters are not printed propely in console

2011-01-04 Thread Vladimir Panteleev
On Tue, 04 Jan 2011 11:47:32 +0200, Jun wrote: Should I use different type and prefix or suffix similary to C++? Place the following code anywhere at the top level in your program: version(Windows) { import std.c.windows.windows : SetConsoleCP, SetConsoleOutputCP; static this

Asian characters are not printed propely in console

2011-01-04 Thread Jun
I'm sorry for posting in the wrong place. I attached screenshot of my code and the result. As you can see, Korean letters get changed after compilation. This problem doesn't happen with user input(from readln() method). Should I use different type and prefix or suffix similary to C++? begin 644