[Lazarus] Opposite of UTF8CharToByteIndex

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Dec 17 14:49:25 CET 2015


On Thu, 17 Dec 2015 14:42:20 +0100
Ondrej Pokorny <lazarus at kluug.net> wrote:

> I am struggling to find the opposite of UTF8CharToByteIndex from 
> LazUTF8. I.e. I need to convert ByteIndex to Char index. Is there such a 
> function? Or do I have to write one by myself? (Isn't a problem, I'd 
> like to check first.)

UTF8Length

Mattias




More information about the Lazarus mailing list