Am 22.06.2012 09:27, schrieb Mark Morgan Lloyd:
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.
What version of FPC introduced this directive? I've got a couple of
places I could do with documenting it as a prerequisite.
2.6.0 has it already, AFAIK at least also 2.4.x.
Regards,
sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel