+2004-05-09 Jason Rumney <jasonr@gnu.org>
+
+ * international/mule-cmds.el (set-locale-environment): On
+ MS-Windows use ansi code-page for default coding-systems.
+ Set up paper sizes for Windows 3 letter languages.
+
+ * international/code-pages.el (cp932, cp936, cp949, cp950): Add
+ aliases. Also add cp125* if not already defined.
+
2004-05-09 Juanma Barranquero <lektu@terra.es>
* net/quickurl.el (quickurl, quickurl-browse-url, quickurl-read):
(prefer-coding-system coding-system)
(setq locale-coding-system coding-system))))
+ ;; On Windows, override locale-coding-system, keyboard-coding-system,
+ ;; selection-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)
+ (set-selection-coding-system code-page-coding)
+ (set-keyboard-coding-system code-page-coding)
+ (set-terminal-coding-system code-page-coding))))
+
;; Default to A4 paper if we're not in a C, POSIX or US locale.
;; (See comments in Flocale_info.)
(let ((locale locale)
("posix$" . letter)
(".._us" . letter)
(".._pr" . letter)
- (".._ca" . letter)))
+ (".._ca" . letter)
+ ("enu$" . letter) ; Windows
+ ("esu$" . letter)
+ ("enc$" . letter)
+ ("frc$" . letter)))
'a4))))))
nil)
\f