On Thu, Sep 15, 2011 at 10:59 AM, Martin Schreiber <mse00...@gmail.com> wrote: > There are plenty of user problems with utf-8 character access and string > length. I assume 100% of them would be solved with utf-16.
It would solve for those writing buggy software which ignores part of the Unicode characters. On the other hand 100% of them would be solved correctly, for all Unicode characters by using LCLProc.UTF8CharacterLength http://lazarus-ccr.sourceforge.net/docs/lcl/lclproc/utf8characterlength.html With this routine you can safely iterate through all characters of a utf-8 string. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel