On 03.05.2017 11:03, Juha Manninen via Lazarus wrote:
I am puzzled why there were so many misleading and confusing replies,
also from knowledgeable Lazarus developers.
Remember, the question was about making sources compatible with Delphi.
The person (Marcos Douglas) did not know details of how strings work
in Delphi and Lazarus.
Now we finally have a system that allows (more or less) compatible
code when using Unicode. Why was it not even mentioned by you guys?
For example:
Ondrej Pokorny wrote:
Speaking from my experience, the only approach (not only the best one but
the only one) is not to use characters above #255.
Nonsense. Full Unicode is supported.
Not if you need pre-unicode Delphi support :)
(Well, Marcos didn't specify what Delphi version he wants to target but
he stated "If Delphi sources don't use UTF8 [...]", which applies to
pre-unicode Delphi versions.)
Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus