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

Juha Manninen juha.manninen62 at gmail.com
Fri May 5 13:41:50 CEST 2017


On Fri, May 5, 2017 at 2:29 PM, Michael Van Canneyt via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> Then what is still the problem ?

With BOM you get:
 Error: UTF-8 code greater than 65535 found
which is counter-intuitive when the file and the string literal are both UTF-8.
It is related to changing the default codepage at run-time which is a
hack from FPC's POV.
For the same reason we need this grid:
 http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus#String_Literals_Overview
So, it is not only a communication issue. It is truly messy. If only
it could be improved...

Juha


More information about the Lazarus mailing list