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

Florian Klaempfl florian at freepascal.org
Thu Sep 25 22:33:19 CEST 2008


Graeme Geldenhuys schrieb:
> Hi,
> 
> Yes I know we have had lengthy discussions about this before.
> Everybody (whoever they might be) keeps saying that UTF-16 was chosen
> for Tiburon's UnicodeString because it makes "significant speed gains"
> when calling the Windows API based on UTF-16 - compared to the ANSI
> API's. 

Who says that? UTF-16 is simply chosen because it has features 
(supporting all characters basically) ANSI doesn't?



More information about the fpc-devel mailing list