On 1-8-2011 14:38, Ondrej wrote:
I think that you have to configure the console to use UTF-8 output (but I
don't know how this is done on Windows).
I think that should be:
SetConsoleOutputCP(CP_UTF8);
Thanks all, I got it to work using SetConsoleOutput.
UTF8ToConsole did not work for me.
(Reposted from the forum)
I tried to output Unicode text to console on English Windows Vista
(using Lucida Console font, which shows Greek and Cyrillic characters).
Doesn't seem to work.
(On Debian x64 it works perfectly - maybe because the default encoding
I've got is UTF8: LANG environment
On Mon, Aug 1, 2011 at 3:09 AM, Reinier Olislagers
reinierolislag...@gmail.com wrote:
(Reposted from the forum)
I tried to output Unicode text to console on English Windows Vista
(using Lucida Console font, which shows Greek and Cyrillic characters).
Doesn't seem to work.
(On Debian x64 it
On 01 Aug 2011, at 08:09, Reinier Olislagers wrote:
I tried to output Unicode text to console on English Windows Vista
(using Lucida Console font, which shows Greek and Cyrillic
characters).
Doesn't seem to work.
I think that you have to configure the console to use UTF-8 output
(but I
I think that you have to configure the console to use UTF-8 output (but I
don't know how this is done on Windows).
I think that should be:
SetConsoleOutputCP(CP_UTF8);
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org