unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cp949 support
@ 2009-06-15 21:11 Eduard Wiebe
  2009-06-16  0:58 ` Kenichi Handa
  0 siblings, 1 reply; 13+ messages in thread
From: Eduard Wiebe @ 2009-06-15 21:11 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]


  Hi,

the following patch adds cp949 charset support to Emacs.
Btw, i compared etc/charsets/CP949-2BYTE.map with
http://unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT and
found no descrepances.

2009-06-15  Eduard Wiebe  <usenet@pusto.de>

	* international/mule-conf.el: Add cp949-2-byte, cp949.

-- 
Eduard Wiebe

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mule-conf.el.cp949.diff --]
[-- Type: text/x-patch, Size: 738 bytes --]

diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
old mode 100644
new mode 100755
index 8bd9301..f8cfa09
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -486,7 +486,19 @@
   :code-offset #x27c218			; ... #x280839
   :unify-map "BIG5-HKSCS")
 
-;; Fixme: Korean cp949/UHC
+(define-charset 'cp949-2-byte
+  "2-byte part of CP949"
+  :dimension 2
+  :map "CP949-2BYTE"
+  :code-space [#x41 #xFE #x81 #xFD]
+  :supplementary-p t)
+
+(define-charset 'cp949
+  "CP949 (Korean)"
+  :short-name "CP949"
+  :long-name  "CP949 (Korean)"
+  :code-space [#x00 #xFE #x00 #xFD]
+  :superset '(ascii cp949-2-byte))
 
 (define-charset 'chinese-sisheng
   "SiSheng characters for PinYin/ZhuYin"

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-07-01 12:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 21:11 cp949 support Eduard Wiebe
2009-06-16  0:58 ` Kenichi Handa
2009-06-17  8:07   ` Jihyun Cho
2009-06-17 11:20     ` Kenichi Handa
2009-06-17 20:54       ` Eduard Wiebe
2009-06-18  2:19         ` Jihyun Cho
2009-06-18 11:14           ` Kenichi Handa
2009-06-18 13:05             ` Chong Yidong
2009-06-18 21:33               ` User Ew
2009-06-19  0:40             ` Kenichi Handa
2009-06-20  8:42               ` Eduard Wiebe
2009-06-22  1:37                 ` Kenichi Handa
2009-07-01 12:39                 ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).