[Lazarus] UTF8String and UTF8Delete

Juha Manninen juha.manninen62 at gmail.com
Sat Dec 12 17:21:00 CET 2015


On Sat, Dec 12, 2015 at 6:16 PM,  <wkitty42 at windstream.net> wrote:
> i mean, i'm really old school... i normally use just string or string[xx]...
> sometimes ansistring... it is all so damned confusing now :(

It is no more confusing than in Delphi where the default String has
UTF-16 encoding.
In Lazarus it is now UTF-8. Besides, it is amazingly compatible with
Delphi at source level.
In any case the current system is much better than the old AnsiString
+ dedicated UTF...() functions hack.

Juha




More information about the Lazarus mailing list