[fpc-devel] Some questions and proposals about cpstring
Alex Shishkin
alexvins at mail.ru
Wed Oct 12 12:02:55 CEST 2011
12.10.2011 13:45, Sven Barth пишет:
> Am 12.10.2011 11:33, schrieb Alex Shishkin:
>> 1) Why UTF8String made incompatible with AnsiString(CP_UTF8)
>> ( UTF8String = type AnsiString(CP_UTF8); )? Why not an alias?
>> 2) Same question about RawByteString
>
> RawByteString is special, because any other string can be assigned to it
> WITHOUT conversion, but the code page of the assigned string will be
> kept, so one can still check which code page the original string had.
>
Thanks this is what I miss. But the question remains: what is
AnsiString(CP_NONE)?
If it is special too, why not just alias and if not what is it?
More information about the fpc-devel
mailing list