[fpc-devel] How to set code page in terminal? (Windows)

silvioprog silvioprog at gmail.com
Fri Jun 22 01:30:17 CEST 2012


2012/6/21 Paul Ishenin <paul.ishenin at gmail.com>:
> 22.06.12 5:39, silvioprog пишет:
>
>> Hello,
>>
>> I'm trying to write "Atenção" in terminal, but it writes "At├º├úo"
>> instead of "Atenção" (please see http://imagebin.org/217387 ). :(
>
> ...
>
>> program test;
>>
>> {$mode objfpc}{$H+}
>
>
> try {$codepage utf8} or add an utf8 BOM because your constant is encoded in
> utf8.
>
> Best regards,
> Paul Ishenin

Oh yeah! Worked fine with this define: http://imagebin.org/217405.

Thank you! ^^

-- 
Silvio Clécio
My public projects - github.com/silvioprog



More information about the fpc-devel mailing list