[fpc-pascal] Delphi / FPC and UTF8 BOM

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Oct 18 16:12:46 CEST 2008


On 18 Oct 2008, at 14:38, Zaher Dirkey wrote:

> Hi, i have some units shared between 2 Project First in Delphi 2007
> and the second in Lazarus for Wince
> for unicode support on WinCE i converted my my files to UTF8, but i
> discovered that Delphi not take my local language in shared units as
> will, and if convert the files in Delphi IDE it work in Delphi but
> lazarus not take my strings.
> Delphi take UTF8 with BOM mark, Lazarus Without BOM.

FPC automatically sets the input encoding of the scanner to utf-8 when  
it encounters a BOM.


Jonas



More information about the fpc-pascal mailing list