On Thu, Dec 10, 2015 at 7:29 PM, Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
> Then why does the compiler complain when I
> feed UTF8Delete with an UTF8String?

As it told you. It got UTF8String but expected AnsiString. I think it
would work with a typecast but that is quite useless. Just use a
String instead.
In fact the Unicode support is now almost Delphi compatible at source
level. Only code that depends on system codepage needs special
attention.

Juha

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to