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

Reinier Olislagers reinierolislagers at gmail.com
Mon Dec 16 13:10:13 CET 2013


On 16/12/2013 12:51, Marcos Douglas wrote:
> On Mon, Dec 16, 2013 at 8:18 AM, Reinier Olislagers
> <reinierolislagers at gmail.com> wrote:
>> 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.
> 
> So explain better, please.
I tried 2 times already, sorry. It's not important anyway.

> Sigh. I know.
> I think you did not understand is:
> Some packages do not work (internally) using UTF8 strings. I can
> change all code to use UTF8 in all package and all projects... but
> this would be a massive work.
And my point is (unfortunately also... sigh...) that you cannot expect
that to change magically.
Conversion is going to be required unless and until... well I'll stop
here, see the many U* threads on this list, the FPC one and fpc-devel.

>> As is customary whenever somebody mentions the magic "U" word, I'm sure
>> you'll get a lot of responses....
> 
> Sorry, I didn't understand... (sarcasm?)
Yes, but not directed at you - at the reactions of this list whenever
that word with U is mentioned ;)





More information about the Lazarus mailing list