[fpc-devel] Unicode and UTF8String

Florian Klaempfl florian at freepascal.org
Mon Dec 1 13:42:51 CET 2008


Felipe Monteiro de Carvalho schrieb:
> On Mon, Dec 1, 2008 at 10:13 AM, Florian Klaempfl
> <florian at freepascal.org> wrote:
>> No, it will be RTLString which type depends on the OS.
> 
> Ok, so code would be something like this:
> 
> var
>   OSString: RTLString;
>   MyString: UTF8String;
> begin
>   OSString := SomeRTLRoutine;
>   MyString := OSString;
> 
> ?

Why would you do this and not
MyString := SomeRTLRoutine;
?



More information about the fpc-devel mailing list