[Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

Juha Manninen juha.manninen62 at gmail.com
Fri May 5 15:36:51 CEST 2017


On Fri, May 5, 2017 at 4:21 PM, Mattias Gaertner via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> Oops. Which one?

The FAQ says:
"Since FPC 3.0 you must add the flag -FcUTF8 or add {$codepage UTF8}
at the beginning of the unit."

The same page in "String Literals" section says:
 "In most cases {$codepage utf8} / -FcUTF8 is not needed."
which is the correct information.

Actually I don't know if that FAQ entry is yours. Many people have
added stuff there. The page is intimidating for a user who just wants
to support Unicode without a fuss.

Juha


More information about the Lazarus mailing list