From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eduard Wiebe Newsgroups: gmane.emacs.devel Subject: cp949 support Date: Mon, 15 Jun 2009 23:11:14 +0200 Message-ID: <861vpldwy5.fsf@nirvana.pusto.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1245100320 27118 80.91.229.12 (15 Jun 2009 21:12:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2009 21:12:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 15 23:11:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MGJSz-0005nI-KZ for ged-emacs-devel@m.gmane.org; Mon, 15 Jun 2009 23:11:45 +0200 Original-Received: from localhost ([127.0.0.1]:56780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGJSy-0002b4-LS for ged-emacs-devel@m.gmane.org; Mon, 15 Jun 2009 17:11:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGJSs-0002az-WF for emacs-devel@gnu.org; Mon, 15 Jun 2009 17:11:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGJSo-0002WV-I1 for emacs-devel@gnu.org; Mon, 15 Jun 2009 17:11:38 -0400 Original-Received: from [199.232.76.173] (port=57886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGJSo-0002WR-CR for emacs-devel@gnu.org; Mon, 15 Jun 2009 17:11:34 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:32943 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGJSn-0006Hn-Ri for emacs-devel@gnu.org; Mon, 15 Jun 2009 17:11:34 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MGJSl-0004Q4-VQ for emacs-devel@gnu.org; Mon, 15 Jun 2009 21:11:32 +0000 Original-Received: from e177185176.adsl.alicedsl.de ([85.177.185.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 21:11:31 +0000 Original-Received: from usenet by e177185176.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 21:11:31 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e177185176.adsl.alicedsl.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) Cancel-Lock: sha1:eCa5JErry6pzBjEFLFsE0xAuQWs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111527 Archived-At: --=-=-= 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 * international/mule-conf.el: Add cp949-2-byte, cp949. -- Eduard Wiebe --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=mule-conf.el.cp949.diff 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" --=-=-=--