[Lazarus] LazUtils package has no dependencies for LCL or other GUI

Juha Manninen juha.manninen62 at gmail.com
Fri Dec 2 15:56:50 CET 2016


I happened to notice this:
 http://bugs.freepascal.org/view.php?id=31048
asking to move FileUtil from LCL to FCL.
It was a misunderstanding from Silvio.
FileUtil unit belongs to LazUtils instead of LCL.
Such a misunderstanding may be common, thus I wanted to write about it here.

Among other things, LazUtils package contains support for Unicode. It
means any cmd line program or server side program gets Unicode support
by using LazUtils.

Before FPC 3 times, the earlier Unicode support in Lazarus with
special UTF8 functions worked only with LCL.
I believe that is the reason for misunderstandings.

Juha


More information about the Lazarus mailing list