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

Reinier Olislagers reinierolislagers at gmail.com
Mon Dec 16 12:18:49 CET 2013


On 16/12/2013 12:15, Marcos Douglas wrote:
> On Mon, Dec 16, 2013 at 3:30 AM, Reinier Olislagers
> <reinierolislagers at gmail.com> wrote:
>> On 15/12/2013 20:47, Marcos Douglas wrote:
>>> On Sun, Dec 15, 2013 at 3:13 PM, Reinier Olislagers
>>> <reinierolislagers at gmail.com> wrote:
>>>> On 15/12/2013 16:25, Marcos Douglas wrote:
>>>>> On Sun, Dec 15, 2013 at 1:08 PM, Bart <bartjunk64 at gmail.com> wrote:
>> My suggestion is to replace calls to the FPC (ANSI) RTL with LCL UTF8
>> equivalents in your code where possible.
> 
> But FPC still ANSI and all read/write in FPC is ANSI. We can not
> override these internal FPC's routines... and, some packages are used
> by others non-GUI program and that not have dependencies to LCL.
Sigh. I don't think you understood what I wrote.
And LCLBase doesn't pull in GUI stuff, IIUC...

>> Apart from that there's not much else you can do except contribute
>> patches to help "unicode-ise" the FPC RTL...
> 
> Ok... But first I would like to know who have these same problems,
> like me, working on Windows and what these people do to bypass these
> problems.
As is customary whenever somebody mentions the magic "U" word, I'm sure
you'll get a lot of responses....





More information about the Lazarus mailing list