Bug 111172
Summary: | emacs has problem with japanese(maybe CJK) environment | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yoshinori KUNIGA <kuniga> |
Component: | emacs | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | mitr, ykuniga |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-01-18 07:09:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yoshinori KUNIGA
2003-11-28 18:05:38 UTC
Example patch(2003-11-28 13:05) has a problem. If apply this patch, emacs can't handle UTF-8 encoding files. The following patch includes for Korean and Chinese environment, but I tested only Japanese environment. New example patch: --- lang-coding-systems-init.el.orig 2003-10-27 22:40:42.000000000 +0900 +++ lang-coding-systems-init.el 2003-12-04 03:58:44.000000000 +0900 @@ -10,6 +10,17 @@ (substring lang-region 0 (min 2 (length lang-region)))))) (cond ((equal locale-coding-system 'utf-8) (when (member lang '("ja" "ko" "zh")) + ;; comment + (cond ((equal lang "ja") + (set-language-environment "Japanese")) + ((equal lang "ko") + (set-language-environment "Korean")) + ((equal lang-region "zh_CN") + (set-language-environment "Chinese-GB")) + ((equal lang-region "zh_TW") + (set-language-environment "Chinese-BIG5"))) + ;; comment + (set-terminal-coding-system 'utf-8) ;; CJK utf-8 locale needs Mule-UCS (require 'un-define) ;; use Mule-UCS utf-8 coding-system for subprocess IO "Additional Comment #1" I wrote was my misapprehension. Probably First patch is suitable. Please ignore "Additional Comment #1". Thanks for this. Should be better in emacs-21.3-8. Could you please test it, and close this if it is ok? OK. I will test emacs-21.3-8. I tested emacs-21.3-8. It seems that the problem was solved. Thank you. |