[fpc-devel] String and UnicodeString and UTF8Stringt

Sven Barth pascaldragon at googlemail.com
Wed Jan 12 09:13:27 CET 2011

Am 12.01.2011 07:16, schrieb LacaK:
> P.S. I still does not understand, how can things work correctly if LCL
> expect that all AnsiStrings (String) are UTF8Strings, byt RTL/FCL does
> not strictly follow this (at least in Windows) ?

LCL uses SysToUTF8 and UTF8ToSys if it uses the RTL (and the FCL). This 
is often done with wrappers that wrap the RTL method and do the 
conversion (e.g. FileExistsUTF8, etc.).


More information about the fpc-devel mailing list