mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(main): Set console codepages to "ANSI".
This commit is contained in:
parent
8d2ff2390a
commit
7387d2a0eb
@ -1,3 +1,7 @@
|
||||
2007-06-25 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* cmdproxy.c (main): Set console codepages to "ANSI".
|
||||
|
||||
2007-06-15 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* emacs.manifest: New file.
|
||||
|
@ -466,6 +466,12 @@ main (int argc, char ** argv)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user