[fpc-devel] Some questions and proposals about cpstring

Sven Barth pascaldragon at googlemail.com
Wed Oct 12 11:45:26 CEST 2011


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.

Regards,
Sven



More information about the fpc-devel mailing list