[Lazarus] String with °

Kamen Kamen kamenlist at abv.bg
Thu Oct 10 12:28:30 CEST 2013


 Thanks, Bart! Where I can find help for

  LazUtf8 unit? I was looking here: http://www.freepascal.org/docs.var with no success.   





-------- Оригинално писмо --------
От:  Bart  
Относно: Re: [Lazarus] String with °
До: Lazarus mailing list  
Изпратено на: Четвъртък, 2013, Октомври 10 12:38:39 EEST


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



--

_______________________________________________

Lazarus mailing list

 Lazarus at lists.lazarus.freepascal.org 

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131010/16957e9c/attachment-0003.html>


More information about the Lazarus mailing list