[fpc-devel] fpc compiler wrong encoding in console output on Windows

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Aug 30 17:10:10 CEST 2023



On 30.08.23 15:57, Tomas Hajny via fpc-devel wrote:
>[...]
>> I get the same in cmd.exe and via TProcess.
> 
> I.e. you open cmd.exe e.g. via the Windows key+R (rather than by 
> shelling from Lazarus)?

Of course.


>[...]
>> ACP is 1252
>> ConsoleCP 437
> 
> Just to be sure - you get this when running the test from Lazarus as a 
> "compiler" (as suggested in my note above)?

No, when running the program in the the console. No Lazarus involved.


Mattias


More information about the fpc-devel mailing list