[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f89cb6b6361 1/2: Fix Japanese language environment on Cygwin and
From: |
Eli Zaretskii |
Subject: |
master f89cb6b6361 1/2: Fix Japanese language environment on Cygwin and MS-Windows |
Date: |
Sat, 2 Mar 2024 02:06:00 -0500 (EST) |
branch: master
commit f89cb6b63612a3dce113fa454fece82953fb5d5c
Author: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
Commit: Eli Zaretskii <eliz@gnu.org>
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)
---
lisp/language/japan-util.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/language/japan-util.el b/lisp/language/japan-util.el
index 93e8ab24971..b058eab7029 100644
--- a/lisp/language/japan-util.el
+++ b/lisp/language/japan-util.el
@@ -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))