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

Juha Manninen juha.manninen62 at gmail.com
Tue Dec 24 22:02:32 CET 2013


On Tue, Dec 24, 2013 at 7:35 PM, Marcos Douglas <md at delfire.net> wrote:
> So the answer for these problems is?

There is no answer. No, actually there are many answers but they all
have problems. If you want your code to also compile with Delphi, then
you have even more answers and problems. :)

> Why these questions bother you?

The same questions and debate have continued for long but there are no
good answers yet.
Unfortunately this is a transition period. Things will become smoother
when time passes.

Right now, with FPC/Lazarus, you must use UTF-8 with the specialized
UTF-8 functions, and convert when needed. Yes, I know this solution
has issues.

Juha




More information about the Lazarus mailing list