[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 16 13:28:47 CET 2013


On Mon, 16 Dec 2013 09:22:54 -0200
Marcos Douglas <md at delfire.net> wrote:

> On Mon, Dec 16, 2013 at 7:41 AM, Mattias Gaertner
>[...]
> > Note:
> > The Lazarus UTF8 functions are in the package LazUtils.
> > You don't need to use the LCL (nor LCLBase) if you only need the
> > UTF8 functions.
> >
> > Mattias
> 
> You're right.
> IMHO, the real problem is not to use LCL/LazUtils but having multiple
> calls to SysToUTF8..UTF8ToSys in all code.

The problem is not specific to the LCL. The problem is using libraries
with different encodings.

 
> Question:
> After the new FPC version is released, how Lazarus will work together
> "FPC Unicode"?

What do you mean with "FPC Unicode". The new compiler feature
of strings with encoding and various changes to the RTL or the idea to
release a FPC flavor with dotted unitnames and String=UnicodeString?


Mattias




More information about the Lazarus mailing list