[fpc-pascal] Delphi / FPC and UTF8 BOM

Zaher Dirkey parmaja at gmail.com
Tue Oct 21 17:37:44 CEST 2008


Thanks for your answers, and just another few questions :)

1- Is "fpc .... -FcUTF-8" same as {$codepage utf-8}?

2- If i put {$codepage utf-8} in my unit and i have string A variable,
that variable will be widestring and any ansistring assigned to it
will converted to it?

3- if i has another unit with ansi text not UTF 8 and there is a B
variable in that unit, then i assigned to the A := B is B string
converted to widestring?.

4- How can i show the content of string (Wide, Ansi) (save it to file
without any converting), is there any example.

Thanks in advanced



More information about the fpc-pascal mailing list