[fpc-devel] new string - question on usage

Michael Schnell mschnell at lumino.de
Wed Oct 12 14:19:22 CEST 2011


On 10/12/2011 12:09 PM, Hans-Peter Diettrich wrote:
>
>
>> Seemingly (other than I assumed) a " := " between new strings does 
>> not preserve the encoding, but performs an encoding conversion to the 
>> target's encoding ID.
>
> Right.
As I now understand: Exception: Target encoding ID = 0, source encoding 
ID <> 0. (very clever, but not easily understandable)

.-Michael



More information about the fpc-devel mailing list