14.11.2011 7: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?
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
But real problem is that varUString is not supported by RTL. (
Variant<->UnicodeString assignment can be easily overriden with operator
overloading). Sрould I write custom variant manager also to work with
unicode?
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel