[Lazarus] non Unicodode application

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 12 15:55:49 CET 2016


On Fri, 12 Feb 2016 15:38:49 +0200
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> On Fri, Feb 12, 2016 at 3:25 PM, Michael Schnell <mschnell at lumino.de> wrote:
> > Any automatic type conversion would kill the application.
> > [...]
> > will this be possible with future versions of Lazarus ,as well ?
> 
> I guess you mean automatic encoding conversion for strings. (?)
> The automatic conversion is NOT a feature of Lazarus. It is a feature
> of FPC 3.0+.
> If you don't want it then you can continue using FPC 2.6.4. It is a
> valid choice in some cases, thus Lazarus will support FPC 2.6.4 for
> some time to come.

True, although the wording might be misleading.
FPC 3.0+ does not arbitrarily change encoding of strings.
That's why the LCL can use UTF-8 in AnsiStrings even without the new
UTF-8 mode.
It then works pretty similar to FPC 2.6.4.

Mattias




More information about the Lazarus mailing list