[Lazarus] UTF8String and UTF8Delete

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 13 17:59:59 CET 2015


On Sun, 13 Dec 2015 12:46:40 +0100
Bart <bartjunk64 at gmail.com> wrote:

> On 12/13/15, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> 
> >> If you write a program in Lazarus which uses the LCL (which in turn
> >> uses LazUtils) then this is done for you by the LazUtils package at
> >> initialization of the fpcadds unit.
> >
> > To be exact: It is the unit LazUTF8 of package LazUtils that sets
> > the UTF-8 in the RTL.
> 
> {$mode nitpicking}
>[...]

Yes, and it does even more.

I wanted to point out that just using package LazUtils does not
enable the UTF-8 mode. This is important for non LCL applications.

Mattias




More information about the Lazarus mailing list