Mention Japanese change in documentation
This commit is contained in:
parent
a57ee3dad6
commit
a2e78046f6
3 changed files with 9 additions and 6 deletions
|
|
@ -397,7 +397,7 @@ messages. But if your locale matches an entry in the variable
|
||||||
coding system instead. For example, if the locale @samp{ja_JP.PCK}
|
coding system instead. For example, if the locale @samp{ja_JP.PCK}
|
||||||
matches @code{japanese-shift-jis} in
|
matches @code{japanese-shift-jis} in
|
||||||
@code{locale-preferred-coding-systems}, Emacs uses that encoding even
|
@code{locale-preferred-coding-systems}, Emacs uses that encoding even
|
||||||
though it might normally use @code{japanese-iso-8bit}.
|
though it might normally use @code{utf-8}.
|
||||||
|
|
||||||
You can override the language environment chosen at startup with
|
You can override the language environment chosen at startup with
|
||||||
explicit use of the command @code{set-language-environment}, or with
|
explicit use of the command @code{set-language-environment}, or with
|
||||||
|
|
|
||||||
5
etc/NEWS
5
etc/NEWS
|
|
@ -217,6 +217,11 @@ regular expression was previously invalid, but is now accepted:
|
||||||
---
|
---
|
||||||
** New input methods 'hawaiian-postfix' and 'hawaiian-prefix'.
|
** New input methods 'hawaiian-postfix' and 'hawaiian-prefix'.
|
||||||
|
|
||||||
|
+++
|
||||||
|
** In Japanese environments that do not specify encodings and are not
|
||||||
|
based on MS-Windows, the default encoding is now utf-8 instead of
|
||||||
|
japanese-iso-8bit.
|
||||||
|
|
||||||
+++
|
+++
|
||||||
** New function 'exec-path'.
|
** New function 'exec-path'.
|
||||||
This function by default returns the value of the corresponding
|
This function by default returns the value of the corresponding
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,9 @@
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun setup-japanese-environment-internal ()
|
(defun setup-japanese-environment-internal ()
|
||||||
;; By default, we use 'iso-2022-jp for default coding system. But, the
|
(prefer-coding-system (if (memq system-type '(windows-nt ms-dos cygwin))
|
||||||
;; following prefer-coding-system will override it.
|
'japanese-shift-jis
|
||||||
(if (memq system-type '(windows-nt ms-dos cygwin))
|
'utf-8))
|
||||||
(prefer-coding-system 'japanese-shift-jis)
|
|
||||||
(prefer-coding-system 'utf-8))
|
|
||||||
(use-cjk-char-width-table 'ja_JP))
|
(use-cjk-char-width-table 'ja_JP))
|
||||||
|
|
||||||
(defconst japanese-kana-table
|
(defconst japanese-kana-table
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue