[Lazarus] UTF8String and UTF8Delete
Juha Manninen
juha.manninen62 at gmail.com
Thu Dec 10 18:36:13 CET 2015
On Thu, Dec 10, 2015 at 7:29 PM, Jürgen Hestermann
<juergen.hestermann at 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
More information about the Lazarus
mailing list