On 10/11/2011 07:33 AM, Hans-Peter Diettrich wrote:

Concrete types are required when strings are manipulated (parsed...), and the implementation assumes a certain encoding.
Why do you think so. when parsing, a 32 bit Unicode character can be extracted from a new string with any (not raw) encoding. When manipulating partial strings and assignments get the encoding of the original string, when comparing strings, conversion is done automatically.

For speed, the user might want to do his code appropriately (e.g. by anticipating conversions).

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

Reply via email to