[fpc-devel] Encoded AnsiString

Michael Schnell mschnell at lumino.de
Tue Jan 7 12:15:26 CET 2014


On 01/07/2014 11:48 AM, Michael Van Canneyt wrote:
> TRawByteString is what you need.
>
AFAI was told by DXE users, this is not true. That is why i did not test 
this yet. But as you state otherwise I will check into that.

But anyway this does not help, as long as the RTL (especially TStrings, 
TStringList) does not use such type, but forces a fixed type and thus 
unnecessary conversions in and out. (there have been several discussion 
on that, including how to implement decent encoding-checks in the 
compiler, and performance issues).

-Michael



More information about the fpc-devel mailing list