[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/nt/cmdproxy.c,v
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/nt/cmdproxy.c,v |
Date: |
Mon, 25 Jun 2007 12:35:05 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Jason Rumney <jasonr> 07/06/25 12:35:05
Index: cmdproxy.c
===================================================================
RCS file: /sources/emacs/emacs/nt/cmdproxy.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- cmdproxy.c 16 Jan 2007 01:41:57 -0000 1.17
+++ cmdproxy.c 25 Jun 2007 12:35:05 -0000 1.18
@@ -466,6 +466,12 @@
SetCurrentDirectory (modname);
*progname = '\\';
+ /* Due to problems with interaction between API functions that use "OEM"
+ codepage vs API functions that use the "ANSI" codepage, we need to
+ make things consistent by choosing one and sticking with it. */
+ SetConsoleCP (GetACP());
+ SetConsoleOutputCP (GetACP());
+
/* Although Emacs always sets argv[0] to an absolute pathname, we
might get run in other ways as well, so convert argv[0] to an
absolute name before comparing to the module name. Don't get
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/nt/cmdproxy.c,v,
Jason Rumney <=