Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-12

LazUtils package has no dependencies for LCL or other GUI

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha Manninen

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

Reply by email

silvioprog
to Juha Manninen

On Fri, Dec 2, 2016 at 11:56 AM, Juha Manninen via Lazarus <

Show quoted text 14 lines
wrote: 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.

I forgot to reply this message, please sorry.

So, thanks a lot for explaining about LazUtils, I didn't know it was a non-lcl dependent package, now I'm going to use it in my console apps. :-)

I found this link, it can be very useful to avoid future misunderstandings (I'll share it with some friends):

http://wiki.freepascal.org/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
Silvio Clécio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161219/9bbfae8f/attachment-0001.html>

Reply by email