El 22/02/18 a les 13:46, Luca Olivetti via Lazarus ha escrit:
El 22/02/18 a les 13:07, Tony Whyman via Lazarus ha escrit:
You may find the "SetTextCodePage" procedure useful when it comes to setting the code page for a Windows console.

e.g. SetTextCodePage(stdout,cp_utf8);

Same result: garbage with writeln, correct result with w

Unsurprising since it's already cp_utf8 (according to GetTextCodePage)

Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
Lazarus mailing list

Reply via email to