[fpc-devel] twide3.pp on windows
Maxim Ganetsky
ganmax at narod.ru
Mon Jul 16 23:31:13 CEST 2007
Vincent Snijders пишет:
> Maxim Ganetsky schreef:
>> Vincent Snijders пишет:
>>> 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).
>>>>> >
>>
>> <snip>
>>
>>> I changed my windows settings to Polish and it now uses codepage 1250
>>> (before it was 1252), now it runs successfully.
>>
>> I think the hack from CRT unit can be useful here too.
>> Just do:
>>
>> OldConsoleOutputCP:=GetConsoleOutputCP;
>> SetConsoleOutputCP(1250);
>>
>
> No, this does not work. GetACP still returns the system setting.
>
Where do you see GetACP? Instead of GetACP pass 1250.
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the fpc-devel
mailing list