[fpc-pascal] UTF-8 versions of Copy() and Length()

Rimgaudas Laucius rimga at ktl.mii.lt
Sat May 19 12:44:41 CEST 2007


I mean that any operation done on UTF8 string (deleting or inserting of part 
of string) consume as much as converting it to UTF16. So it will be less 
effective to do that operation twice with UTF8 string than to convert it to 
UTF16 where these operations may be done instantly.


----- Original Message ----- 
From: "Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Saturday, May 19, 2007 1:36 PM
Subject: Re: [fpc-pascal] UTF-8 versions of Copy() and Length()


> On 5/19/07, Rimgaudas Laucius <rimga at ktl.mii.lt> wrote:
>> Performance:
>> Length (UTF8) = UTF8->UTF16
>> 2*Lenth(UTF8)> UTF8->UTF16
>
> I don't understand what you are trying to say here.
>
> -- 
> Felipe Monteiro de Carvalho
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 





More information about the fpc-pascal mailing list