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

Graeme Geldenhuys graemeg.lists at gmail.com
Sat May 19 10:15:48 CEST 2007


Hi,

Does FPC have UTF-8 versions of the Copy() and Length() functions?

I've started implementing support for UTF-8 in my fpGUI widget set -
more specifically text painting in all components (the easy bit) and
text handling in the TFEdit (edit box widget).

For now I have used the UTF8Copy() and UTF8Length()  functions as
designed in the Lazarus LCL project and it works fine.  I'm pretty
sure FPC must have such functions, but I searched everywhere and
couldn't find anything.


-- 
Graeme Geldenhuys

** General error, hit any user to continue. **



More information about the fpc-pascal mailing list