+2007-11-14 Jason Rumney <jasonr@gnu.org>
+
+ * international/mule-cmds.el (set-locale-environment): Set
+ default-file-name-coding-system from system defaults on Windows.
+
2007-11-14 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-parent-bptno-enabled): New variable.
(setq locale-coding-system coding-system))))
;; On Windows, override locale-coding-system,
- ;; keyboard-coding-system with system codepage. Note:
- ;; selection-coding-system is already set in w32select.c.
+ ;; default-file-name-coding-system, keyboard-coding-system,
+ ;; terminal-coding-system with system codepage.
(when (boundp 'w32-ansi-code-page)
(let ((code-page-coding (intern (format "cp%d" w32-ansi-code-page))))
(when (coding-system-p code-page-coding)
(setq locale-coding-system code-page-coding)
+ (setq default-file-name-coding-system code-page-coding)
(set-keyboard-coding-system code-page-coding)
(set-terminal-coding-system code-page-coding))))