[Lazarus] Making sources compatible with Delphi (but Lazarus is priority)
Michael Van Canneyt
michael at freepascal.org
Fri May 5 12:52:48 CEST 2017
On Fri, 5 May 2017, Juha Manninen via Lazarus wrote:
> On Fri, May 5, 2017 at 9:43 AM, Michael Van Canneyt via Lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>> What tricks do you still need in 3.0.x ?
>
> The annoying tricky part with our UTF-8 solution is the assignment of
> Unicode string literals.
> With UTF-8 BOM it does not work at all, as discussed here.
> Without BOM it depends on string type + compiler settings in an illogical way.
> We would need a more robust solution for that. Do you have ideas?
I propose to let the compiler observe the BOM.
But I don't think more is needed.
Michael.
More information about the Lazarus
mailing list