Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-11

console cp

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rimgaudas Laucius

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.

Reply by email

Pápai András

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

Reply by email