[fpc-devel] TRegistry and Unicode

Michael Van Canneyt michael at freepascal.org
Wed Mar 6 14:15:48 CET 2019



On Wed, 6 Mar 2019, Bart wrote:

> On Wed, Mar 6, 2019 at 12:59 PM Marco van de Voort
> <core at pascalprogramming.org> wrote:
>
>> 1+2.  Reverse manual enforced encoding, and honour the codepage in the
>> default string type.
>
> (2 sort of implies 1 as well...)
>
>> If unicode MUST be supported on windows without lazarus hack, convert
>> the interface to unicodestring. (or maybe overload, but I would just
>> convert it all)
>
> Well, convert to unicodestring was my initial proposol, but this was
> dismissed in this discussion.
> Overloading may make all users (except the maintainers of this code) happy?

Please add overloading using UTF8String. 
Backwards compatibility is not an idle word.

Michael.



More information about the fpc-devel mailing list