[fpc-devel] TRegistry and Unicode

Sven Barth pascaldragon at googlemail.com
Fri Mar 15 07:40:09 CET 2019

Am 15.03.2019 um 00:04 schrieb Bart:
> On Wed, Mar 13, 2019 at 6:43 PM Bart <bartjunk64 at gmail.com> wrote:
>> That was the easy part.
> Since all values written are now UnicodeString, WriteStringList in
> XMLREG implementation now writes a sequence of UnicodeChar
> representations to the registry. Previously it wrote AnsiChar's.
> Give a stringlist with values '1','2','3''  it now writes:
> <Value Name="StringList" Type="4">31000000320000003300</Value>
> Before it did
> <Value Name="StringList" Type="4">3100320033000000</Value>
> Getting it to write AnsiChars is a little bit tricky as fas as I can
> see right now.
> Since this function did not exist in 3.0.4 I think this is acceptable?
> Especially since the previous implementation was bugged as well.
> (Released software should not be made with fpc trunk anyway IMO)
Trunk is free to break compatibility with itself as long as the changes 
are also merged to the still unreleased 3.2. If it would be released 
already it would be a different topic...


More information about the fpc-devel mailing list