[fpc-devel] How to set code page in terminal? (Windows)
waldo kitty
wkitty42 at windstream.net
Fri Jun 22 01:20:23 CEST 2012
On 6/21/2012 18:44, Paul Ishenin wrote:
> 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.
ha! i should have caught that when i was playing with it in fp because it did
show as 2character characters... i just didn't recognize for such... my eyes are
crossed from too much codepage fighting in my other world :?
More information about the fpc-devel
mailing list