[fpc-devel] UnicodeStrings - Variant conversion

Sven Barth pascaldragon at googlemail.com
Tue Nov 15 09:29:09 CET 2011


Am 14.11.2011 23:22, schrieb Paul Ishenin:
> 14.11.11 11:02, Alexander Shishkin пишет:
>> Currently assigning UnicodeString to variant converts string to
>> WideString and makes variant of type varOleStr.
>> I think it should be varUString and w|o any conversion (also this is
>> delphi compatible). But the question is which type should be if
>> WideString=UnicodeString?
>
> I don't remember exactly but it is seems to me that delphi also uses
> unicodestring for WideStrings on osx.
>
> If this is ideed so it will be easy to check.

Somehow I wish that Delphi stayed on Windows... now we have to pay 
attention to Delphi compatibility on other platforms as well... :(

Regards,
Sven




More information about the fpc-devel mailing list