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

Juha Manninen juha.manninen62 at gmail.com
Thu May 4 09:45:14 CEST 2017


On Thu, May 4, 2017 at 12:55 AM, Graeme Geldenhuys via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> On 2017-05-03 20:47, Juha Manninen via Lazarus wrote:
>> If you share and edit the sources between Delphi and Lazarus then you
>> cannot use the full Unicode.
>
> Quite comical considering that the FPC team always makes such a big fuss
> about "we want Delphi compatibility", and now it seems to be worse than
> ever before.

Well, the code + its string literals are compatible. If you copy/paste
them, they compile and work. Now only this small invisible BOM screws
up things.

Actually the IDE could have an option to remove the BOM. No scripts or
packages are needed for that. It should be easy to implement. I will
look at it later, hold on ...

Juha


More information about the Lazarus mailing list