[fpc-pascal] Delphi / FPC and UTF8 BOM

Zaher Dirkey parmaja at gmail.com
Sat Oct 18 14:38:50 CEST 2008


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.

Is there any possible idea to make my shared units compiled in both
compiler, like as make FPC compile this units as Ansi and in compile
time convert it to "UTF8 without BOM" depend my windows locale.

I test -Fmcp1256.txt but no chance.

My language Arabic Win1256
FPC 2.2.2
Lazarus 0.25 beta
-- 
Zaher Dirkey



More information about the fpc-pascal mailing list