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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to