On 10/13/2011 02:05 AM, Hans-Peter Diettrich wrote:

- assignment will do a conversion (at least if the target encoding ID is not zero.)
... conversion unless the target type is RawByteString, or has the same encoding.
Paul did inform us that encoding ID = 0 in the target means no conversion but set the target's encoding ID to the source's encoding ID.


 - the conversion will not happen if the source encoding ID is "Raw"

There is no "Raw" source ID.

The Delphi doc says "the RawByteString Type is type ANSIString($FFFF)".

So the RawByte encoding ID in fact is $FFFF (if FPC wants to be Delphi compatible in that behalf ).

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to