Op 2011-02-10 12:27, claude Pomalo het geskryf:
> 
> length('à') return 2

Length() returns bytes

> utf8length('à') return 1

this returns the number of visual characters.


> is a utf8Subst() like function exist?

utf8copy() somewhere in the LCL units.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


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

Reply via email to