On 02/10/2011 03:20 PM, Hans-Peter Diettrich wrote:

length('à') return 2
utf8length('à') return 1

I thinks according to the definition of UTF8String it's correct that Length(s) provides the byte count. I do hope that with "NewStrings" this some day might change, as it's quite confusing for anybody who does not want to be bothered with the Uniocde internals.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to