[Lazarus] FileExistsUTF8() difference between Unix/Windows
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Sep 21 19:15:41 CEST 2019
On Sat, 21 Sep 2019 18:24:28 +0200
Bart via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>[...]
> > I added an incompatibility note:
> > https://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes#LazUtils_Changes
>
> I think that is incorrect.
> As you can see above the old version also returned FALSE for
> directories (it used the same logic as the Windows implementation of
> FileExists).
>
> The reason the implementation has changed is that since LCL is UTF8
> the automatic conversion fpc does is now lossless, which it wasn't
> before 3.0.
You are right. So the change is actually: FileExistsUT8 no longer
supports fpc 2.6.4. Right?
Mattias
More information about the lazarus
mailing list