[fpc-pascal] source code UTF8 with BOM problems ?

Luis Fernando Del Aguila Mejía luis3000 at ec-red.com
Tue Mar 16 00:59:52 CET 2010


Hello, the problem is only linux.

The following source code uses UTF8 without BOM, 
http://www.conoce3000.com/Ejemplo01.pp
the compiler compiles ok and the program displays the message in Unicode 
UTF8 ok

The following source code uses UTF8 with BOM 
http://www.conoce3000.com/Ejemplo02.pp
the compiler compiles ok and the program displays the message in Unicode 
UTF8 with question marks.

How can I tell the compiler to ignore the BOM?

Thanks 




More information about the fpc-pascal mailing list