[fpc-devel] Unicode support (again)
nc-gaertnma at netcologne.de
Mon Nov 10 18:19:56 CET 2008
On Mon, 10 Nov 2008 15:04:01 -0200
"Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com> wrote:
> On Mon, Nov 10, 2008 at 1:48 PM, Michael Schnell <mschnell at lumino.de>
> >, ... There are not _slow_ functions that do the "expected" versions
> > of s[i], pos(s), copy(), delete(), ... (I've yet to find out how I
> > can print just the first character of an UTF8String :)
> Lazarus has a set of utf-8 ready routines, using utf-8 inside of a
Keep in mind that they work in unicode code points. Composed characters
are treated as several units. For example umlaute can be 2 characters
(3 bytes). Same problem for UTF-16 with widestrings.
We still need a normalize function.
More information about the fpc-devel