[Lazarus] String with °

Bart bartjunk64 at gmail.com
Thu Oct 10 11:38:39 CEST 2013


On 10/10/13, Michael Schnell <mschnell at lumino.de> wrote:

> As Lazarus works with UTF8, and the string functions like "pos" and
> "delete" count bytes rather than (visible) characters, you can't use the
> visible character position for these functions.

As Mattias pointed out: in this case Use Utf8Delete().
It is in LazUtf8 unit.

Bart




More information about the Lazarus mailing list