[fpc-devel] Re: Unicode support (again)
petr.kristan at epos.cz
petr.kristan at epos.cz
Tue Nov 11 10:18:48 CET 2008
On Tue, Nov 11, 2008 at 10:11:10AM +0100, Michael Schnell wrote:
>
>> See (including comments) http://www.jacobthurman.com/?p=30
>
> So it seems that the Type "String" in D2009 in fact is "WideString" and
> same _does_ use surrogate pairs. This asks for even more unexpected
> behavior that with FPC, with String seemingly still being ANSIString ;).
Yes. In D2009 String is UTF16String and Char is WideChar, sizeof(Char)=2.
I personally do not like this solution.
Petr
--
Ing. Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223 Czech Republic (Eastern Europe)
fax: +420 466510709
More information about the fpc-devel
mailing list