[fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?

Michael Schnell mschnell at lumino.de
Fri Sep 26 10:43:52 CEST 2008


> It's no different then UTF-16 if you want to do it properly. In both you
> have to look out for surrogates.
>   
Is UTF-16 Widestring in FPC (and Delphi 200x ? ) not done just ignoring 
the surrogates ? (AFAI understand, a Widechar is just 16 bit, it would 
need to be 32 bit if surrogates were allowed in Widestrings).

-Michael



More information about the fpc-devel mailing list