[Lazarus] Problem encode UTF8 with BOM in unit

Maxim Ganetsky ganmax at narod.ru
Thu Jan 26 00:47:11 CET 2012


26.01.2012 1:57, Zaher Dirkey пишет:
> On Wed, Jan 25, 2012 at 10:47 PM, Maxim Ganetsky <ganmax at narod.ru
> <mailto:ganmax at narod.ru>> wrote:
>
>     {$codepage 8859-1}
>
>
>
> Thanks, Until now this sloved my problem in both Delphi and Lazarus
>
> {$ifdef FPC}
> {$mode delphi}
> {$codepage 8859-1}
> {$endif}
>
> But strange, it is not as expected!.

No, it works exactly as documented:

http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Free_Pascal_Particularities

http://wiki.freepascal.org/Language_related_articles#UTF-8_support

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru




More information about the Lazarus mailing list