[fpc-devel] twide3.pp on windows
Vincent Snijders
vsnijders at quicknet.nl
Mon Jul 16 21:42:41 CEST 2007
Yury Sidorov schreef:
> From: "Daniƫl Mantione" <daniel.mantione at freepascal.org>
>> Op Mon, 16 Jul 2007, schreef Yury Sidorov:
>>
>> > > There must be, because the CRT unit currently seems to do such > >
>> vodoo
>> > > (which is questionable behaviour by the way).
>> >
>> > Yes. It is possible to specify code pages for console, gui >
>> controls, etc. But
>> > application must do it in runtime.
>>
>> Perfect, this is what twide3 needs.
>
> It is not possible to change code page used for wide<>ansi translation
> per applicaton.
>
>> > Oh, yes it will not work on Windows, because utf8 is not supported >
>> here.
>> >
>> > Then, twide3.pp should be skipped on Windows, since it is not >
>> possible to do
>> > it in locale independant way.
>>
>> Well, the test could be adapted to use some kind of code page. It could
>> work on all platforms then.
>
> This test will work on Windows only if utf8 support will be added to
> Windows rtl.
>
I changed my windows settings to Polish and it now uses codepage 1250
(before it was 1252), now it runs successfully.
Vincent
More information about the fpc-devel
mailing list