On Fri, Dec 11, 2015 at 3:45 PM, Mattias Gaertner
<nc-gaert...@netcologne.de> wrote:
> With DisableUTF8RTL passing UTF8String to String changes encoding.

Yes and a conversion between UTF-8 and a system codepage can be lossy.

> So every function needs an overloaded wrapper function.
> No need to copy the implementation.

The functions then use String with system codepage.
A wrapper would trigger useless conversions and potentially loose data.
No, UTF8String really must be used in the implementation.

Juha

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to