[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?
Sven Barth
pascaldragon at googlemail.com
Tue Dec 24 22:08:38 CET 2013
Am 24.12.2013 15:34 schrieb "Marcos Douglas" <md at delfire.net>:
> Sorry if I say something crazy, but what do you think to use UTF-16 on
> {mode delphi} and UTF-8 in {mode fpc}?
That is already the case with mode delphiunicode. But the big problem are
classes and their inheritance. Take TStringList for example. Let's assume
it's declared with String=AnsiString and you override it in a unit with
String=UnicodeString then you'll get problems with overloads/overrides,
because UnicodeString <> AnsiString.
The mode concept is all good and well, but here it breaks down... :(
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131224/45c72fe4/attachment-0003.html>
More information about the Lazarus
mailing list