Unicode -> Windows 1252

Tom tom at nospam.com
Wed Mar 16 15:17:04 PDT 2011


I have a D2 code that writes some stuff to the screen (usually runs in 
cmd.exe pseudo-console). When I print spanish characters they show wrong 
(gibberish symbols and so, wich corresponds to CP-1252 encoding).

Is there a way to convert all outputted streams to CP-1252 without 
having to wrap writeln function (and replacing all its calls)?

TIA,

Tom;


More information about the Digitalmars-d-learn mailing list