mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
Fix Japanese language environment on Cygwin and MS-Windows
* lisp/language/japan-util.el (setup-japanese-environment-internal): Prefer UTF-8 for Cygwin and other Posix hosts; prefer Codepage 932 on DOS/Windows. (Bug#69493)
This commit is contained in:
parent
5e20b114ef
commit
f89cb6b636
@ -29,8 +29,8 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun setup-japanese-environment-internal ()
|
||||
(prefer-coding-system (if (memq system-type '(windows-nt ms-dos cygwin))
|
||||
'japanese-shift-jis
|
||||
(prefer-coding-system (if (memq system-type '(windows-nt ms-dos))
|
||||
'japanese-cp932
|
||||
'utf-8))
|
||||
(use-cjk-char-width-table 'ja_JP))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user