[fpc-pascal] FPC 3.x for Windows and reading UTF-8 encoded text from standard input

Lubos Pintes lubos.pintes at gmail.com
Thu Dec 3 15:14:18 CET 2015


Hi,
How can I read an UTF-8 encoded text under Windows? My Windows locale 
uses windows-1250 encoding. It seems to me that a conversion to ansi 
happens when I am reading from standard input, so the UTF-8 text is 
corrupted.
Do I need to do something special for this to work?
Thanks




More information about the fpc-pascal mailing list