[fpc-devel] FPC 2.3.1 seems a mixed mess with Unicode support

Florian Klaempfl florian at freepascal.org
Tue Sep 15 14:14:10 CEST 2009


Jonas Maebe schrieb:
> 
> On 15 Sep 2009, at 13:44, Florian Klaempfl wrote:
> 
>> Graeme Geldenhuys schrieb:
>>> Micha Nelissen het geskryf:
>>>> Extracting a Char from a UnicodeString? What's that supposed to do?
>>>
>>> Follow the URL I posted with that example.
>>>
>>> I don't claim to know everything regarding Unicode. Florian said FPC
>>> supports Unicode,
>>
>> I said it supports the Unicodestring type.
> 
> The problem is that Delphi 2009's "unicodestring" type is something
> completely different. It is what you are developing in the cpstr branch.
> Our current unicodestring is an utf16string or something like that.

No. UnicodeString means in D2009 UTF-16 encoding. It has the encoding
and code point size stored, but as soon as you change the encoding, it's
no more an UnicodeString.



More information about the fpc-devel mailing list