? international/.mule-conf.el.swp ? language/.japanese.el.swp ? language/.korean.el.swp Index: international/mule-conf.el =================================================================== RCS file: /sources/emacs/emacs/lisp/international/mule-conf.el,v retrieving revision 1.89 diff -u -r1.89 mule-conf.el --- international/mule-conf.el 18 Feb 2008 01:45:53 -0000 1.89 +++ international/mule-conf.el 15 Mar 2008 03:12:30 -0000 @@ -474,6 +474,19 @@ :code-offset #x279f94 ; ... #x27c217 :unify-map "KSC5601") +(define-charset 'cp949-2-byte + "2-byte part of CP949" + :dimension 2 + :map "CP949-2BYTE" + :code-space [#x41 #xFD #x81 #xFE] + :supplementary-p t) + +(define-charset 'cp949 + "CP949 (Microsoft Unified Hangul Code)" + :code-space [#x00 #xFD #x00 #xFE] + :short-name "CP949" + :superset '(ascii (korean-ksc5601 . #x8080) cp949-2-byte)) + (define-charset 'big5-hkscs "Big5-HKSCS (Chinese traditional, Hong Kong supplement)" :short-name "Big5" @@ -481,8 +494,6 @@ :code-offset #x27c218 ; ... #x280839 :unify-map "BIG5-HKSCS") -;; Fixme: Korean cp949/UHC - (define-charset 'chinese-sisheng "SiSheng characters for PinYin/ZhuYin" :short-name "SiSheng" Index: language/korean.el =================================================================== RCS file: /sources/emacs/emacs/lisp/language/korean.el,v retrieving revision 1.37 diff -u -r1.37 korean.el --- language/korean.el 1 Feb 2008 16:01:04 -0000 1.37 +++ language/korean.el 15 Mar 2008 03:12:30 -0000 @@ -45,7 +45,6 @@ (define-coding-system-alias 'euc-kr 'korean-iso-8bit) (define-coding-system-alias 'euc-korea 'korean-iso-8bit) -(define-coding-system-alias 'cp949 'korean-iso-8bit) (define-coding-system 'iso-2022-kr "ISO 2022 based 7-bit encoding for Korean KSC5601 (MIME:ISO-2022-KR)." @@ -58,6 +57,13 @@ :mime-charset 'iso-2022-kr :suitable-for-keyboard t) +(define-coding-system 'korean-cp949 + "CP949 (Microsoft Unified Hangul Code)" + :coding-type 'charset + :mnemonic ?K + :charset-list '(ascii cp949)) + +(define-coding-system-alias 'cp949 'korean-cp949) (define-coding-system-alias 'korean-iso-7bit-lock 'iso-2022-kr) (set-language-info-alist