<p>Am 05.05.2017 13:50 schrieb "Juha Manninen via Lazarus" <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>>:<br>
><br>
> On Fri, May 5, 2017 at 2:29 PM, Michael Van Canneyt via Lazarus<br>
> <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br>
> > Then what is still the problem ?<br>
><br>
> With BOM you get:<br>
> Error: UTF-8 code greater than 65535 found<br>
> which is counter-intuitive when the file and the string literal are both UTF-8.</p>
<p>That is mainly due to the compiler not supporting surrogate pairs for the UTF-8 -> UTF-16 conversion. If it would support them, then there wouldn't be a problem anymore... (though of course it would need to be ensured that other parts of the RTL support surrogate pairs as well)</p>
<p>Regards,<br>
Sven</p>