Re: [fpc-pascal] Unicode output on console works for me on Linux, not on Windows

2011-08-01 Thread Reinier Olislagers
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

Re: [fpc-pascal] Unicode output on console works for me on Linux, not on Windows

2011-08-01 Thread Ondrej
> 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 http://lists.freepasc

Re: [fpc-pascal] Unicode output on console works for me on Linux, not on Windows

2011-08-01 Thread Jonas Maebe
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 d

Re: [fpc-pascal] Unicode output on console works for me on Linux, not on Windows

2011-08-01 Thread Marcos Douglas
On Mon, Aug 1, 2011 at 3:09 AM, Reinier Olislagers 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 works perfectly - maybe