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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue