String characters not extended

bauss via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 2 16:20:09 PST 2017


On Monday, 2 January 2017 at 21:07:37 UTC, Ignacious wrote:
> when one prints out a string with some extended(I guess it's 
> unicode), writeln prints out the ascii versions that do not 
> correspond to what they really are. e.g., an umlaut is printed 
> out as 1/2 or something.
>
> how to get it to print the correct codes?

Most likely not an issue with D, but your console's display 
encoding. Else your standard output might have ASCII as encoding 
and then you'd have to change it.

What OS are you on?


More information about the Digitalmars-d-learn mailing list