unicode characters are not printed correctly on the windows command line?

Adam D. Ruppe destructionator at gmail.com
Sun Dec 22 13:40:36 UTC 2019


On Sunday, 22 December 2019 at 06:25:42 UTC, rikki cattermole 
wrote:
> Not a bug.

No, Phobos is *clearly* in the wrong here. There is a proper fix.

http://dpldocs.info/this-week-in-d/Blog.Posted_2019_11_25.html#unicode

Use the correct WriteConsoleW api instead of the ancient ascii 
api. WriteConsoleW works without changing any settings. (on old 
versions of Windows, you may have to install fonts to display it, 
but new ones come with it all preinstalled).


More information about the Digitalmars-d-learn mailing list