[Lazarus] Wiki page "Unicode Support in Lazarus" improved
Juha Manninen
juha.manninen62 at gmail.com
Sat May 13 19:35:58 CEST 2017
On Sat, May 13, 2017 at 7:56 PM, Sven Barth via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> Warning: the compiler does *not* consider the file as UTF-8 without a BOM or
> a set codepage!
Yes but that is a very misleading warning.
The whole thing works without a BOM better than with it because of the
"double cheat". See "String Literals" section for details.
It is counter-intuitive and most people can just ignore it.
With BOM it did not work for codepoints beyond BMP but that was fixed
and backported to FPC 3.0.3, right?
Juha
More information about the Lazarus
mailing list