On 10/12/2011 02:28 PM, Sven Barth wrote:

There will be a conversion.
Meaning:
 - when it is a var parameter, am error message is issued.
 - when it is a value parameter: conversion is called
 - type cast will do a conversion
- assignment will do a conversion (at least if the target encoding ID is not zero.)
 - the conversion will not happen if the source encoding ID is "Raw"

Correct ?


Like was done before the code page aware string as well. And then you might experience data loss if you e.g. cast a UnicodeString with some fancy Unicode characters to an encoding which doesn't support these characters (same as before).
Of course.

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

Reply via email to