[fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?
Michael Schnell
mschnell at lumino.de
Fri Sep 26 12:56:59 CEST 2008
>> Is UTF-16 Widestring in FPC (and Delphi 200x ? ) not done just ignoring the
>> surrogates ?
>>
>
> Lets hope not,
I don't think, full UTF-16 really would be desirable desirable over UC-2.
Imagine you have a string of some million characters (e.g. a Book). All
functions that need to find the n-th character (like x[n], copy, ...)
would take forever, as they need to scan the complete string (if not
widestring is a rather complex tree-like format).
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080926/4a2ef15c/attachment.html>
More information about the fpc-devel
mailing list