Graeme Geldenhuys escreveu:
On Mon, Dec 1, 2008 at 10:03 PM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
and it avoids unneeded conversions.
I understand it 'avoids unneeded conversions' *inside* the RTL, by
adding implicit conversions to the code accessing the RTL.

This is exactly what I was thinking. The conversion is simply passed
on to a different piece of code. So  the end result is the same - you
still have conversion.

It's variable: no conversion, one conversion, two conversions. Depends of the system and the user string type. Say the RTL is changed to UTF16.

If the user chooses to use UTF8String in unix you will have 02 conversions: UTF-8 -> UTF-16 -> UTF-8

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

Reply via email to