Vincent Snijders пишет:
Maxim Ganetsky schreef:
Vincent Snijders пишет:
Yury Sidorov schreef:
From: "Daniël Mantione" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel