[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?
Marcos Douglas
md at delfire.net
Mon Dec 23 18:56:21 CET 2013
On Mon, Dec 23, 2013 at 8:38 AM, Marco van de Voort <marcov at stack.nl> wrote:
> On Sun, Dec 22, 2013 at 05:06:27PM -0200, Marcos Douglas wrote:
>> > FPC 2.7.x can compile the windows unit in unicode (UTF16) mode. Most system and
>> > sysutils file related routines are already unicode (UTF16 with Rawbytestring
>> > overload).
>>
>> So FPC 2.7.x can compile the windows unit in unicode (UTF16) mode. But
>> how it will work with Lazarus that uses UTF-8?
>
> Not without conversions. UTF8 on Windows IMHO _NEVER_ was a good idea.
>
>> Lazarus will not to
>> change to UTF-16 -- only for Windows -- then everything will stay the
>> same to Windows programmers?
>
> I think it is too early to say what will happen. One way or the other.
> Everybody is still searching, and the current 2.6.x based UTF8 support will
> need an overhaul anyway for 2.8.x.
>
> I think 2.8.x will be a transition version anyway, and a definitive unicode
> solution will only in the major release after that.
Ok, thanks for the explanation.
Marcos Douglas
More information about the Lazarus
mailing list