En/na Luca Olivetti ha escrit:
You have to go through the string for UTF-8 and UTF-16 encodings so
the advantages are at least questionable...
Yes, but my (wrong) premise is that you could assume all characters are
2 bytes wide, so the Nth character would be at N*2 byte.
BTW, using strings as arrays of char to get at individual characters is
risky business with utf-8. Or will be they converted to (pseudo)
properties and (slowly) do the (slow) right thing?
I also suppose that the functions in strutils are not utf-8 aware, so
what should we be using in its place?
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 Fax +34 93 5883007
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives