[fpc-devel] Unicode in the RTL (my ideas)

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Aug 21 13:54:42 CEST 2012


Ivanko B schrieb:
> For that reason there is no
>  speed difference between using a UTF-16 or UTF-8 encoded string. Both
>  can be coded equally efficient.
> ==============
> No in common, since UTF-8 needs error handling, replacing for
> unconvertable bytes etc operations which may effect initial data which
> makes per-byte comparision unreliable.

When dealing with floating point values you don't bother with their 
encoding of sign, exponent and mantissa. Why do you want to do such 
low-level bitfiddling with strings?

DoDi




More information about the fpc-devel mailing list