[fpc-devel] Unicode support in RTL - Roadmap

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Nov 21 10:44:03 CET 2008


On Fri, Nov 21, 2008 at 7:30 AM, Michael Schnell <mschnell at lumino.de> wrote:
> This page does not talk about UTF8Strings being counted in code elements vs
> in code points.
>
> I don't consider it understood that they in any case are counted in code
> elements. IMHO this should be seriously discussed and a solution should be
> found that the user can select either way to be able to do either fast code
> or not break old code.

I prefer it to be counted in bytes. If it is counted in Bytes then I
can build a routine that counts in real chars. And we already have a
lot of code to handle utf-8 inside ansisstring which depends on that.

Counting the elements in real chars is very ineficient.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list