hi all.

been learning d for the last few years but suddenly realised...

when i use this code:

writeln('♥');

the output displayed on the windows command line is "ÔÖÑ" [it works fine when piped directly into a text file, however].

i've looked about in this forum, but all that i could find was people in 2016[!] saying the codepage had to be altered - clearly nonsense, since Rust [which i am also learning] has no problem whatsoever displaying "♥".

is there any function i can call or setting i can adjust to get D to do the same, or do i have to wait for something to be fixed in the language / compiler itself?

best regards

moth [su.angel-island.zone]

Reply via email to