[Lazarus] Unicode on Windows

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 9 17:17:17 CEST 2012


On Mon, 9 Apr 2012 11:50:37 -0300
Marcos Douglas <md at delfire.net> wrote:

> On Mon, Apr 9, 2012 at 11:14 AM, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho at gmail.com> wrote:
> >
> > On Mon, Apr 9, 2012 at 2:37 PM, Marcos Douglas <md at delfire.net> wrote:
> > > The result is 5 not 3, but you did know this of course.
> >
> > If you study carefully UTF-8 and follow the code of the RTL routines
> > you will find out that some routines work with UTF-8 without changes,
> > regardless of the fact that Length returns the number of bytes in the
> > string for ansistring.
> 
> Agree.
> But I did not wanted to check every single function if will work or
> not. That would be very dangerous.

The Lazarus developers already did this for you for the Lazarus sources.

Mattias




More information about the Lazarus mailing list