On Thu, Dec 19, 2013 at 11:58 PM, Marcos Douglas <[email protected]> wrote: > Using UTF8String the compiler converts to UTF-16 automatically?
Yes, Delphi does that. Future FPC versions will do automatic conversion, too, but not only to UTF-16. > I thought that, e.g., override the RTL classes and functions: > type > TStringList = class(Classes.TStringList) > // using UTF-8 > end No, with FPC you don't need to do that. The existing StringList works ok. With Delphi you would need to copy the whole class, name it TUtf8StringList, and replace "string" with "UTF8String". This new class must NOT inherit from Classes.TStringList. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
