It is supported only on Windows NT (and NT based win versions) (SetConsoleCP, SetConsoleOutputCP API functions).
On a Win9x system a little trick may help (not 100% sure):
+ Install display.sys with a modified (ANSI compatible) font file
+ install a new keyboard driver (OEM chars mapped to ANSI chars) Non-english keyboards only
+ and call SetFileAPIsToANSI API function at program beginning.
Andras
Show quoted text 21 lines
-----Original Message-----
From: Rimgaudas Laucius
Sent: Friday, November 09, 2001 12:34 PM
To:
Subject: [fpc-devel]console cp
Hi,
why does Windows console aplications uses OEM code page, not
ANSI? Could i
change it somehow (i am talking about Win9x)? Maybe i can
change something
in API units and then get this.
_______________________________________________
fpc-devel maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-devel