From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65448 Path: news.gmane.org!not-for-mail From: Zhang Wei Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: chinese-gbk Date: Tue, 23 Oct 2007 14:51:45 +0800 Message-ID: <87r6jmtjb2.fsf@debian.emacsfans.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193122351 13079 80.91.229.12 (23 Oct 2007 06:52:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 06:52:31 +0000 (UTC) Cc: Katsumi Yamaoka , ding@gnus.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 08:52:32 2007 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 1IkDcr-00065O-3c for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 08:52:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkDcj-0001jW-8u for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 02:52:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkDca-0001eA-Nd for emacs-devel@gnu.org; Tue, 23 Oct 2007 02:52:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkDcV-0001ao-8t for emacs-devel@gnu.org; Tue, 23 Oct 2007 02:52:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkDcV-0001aj-5i for emacs-devel@gnu.org; Tue, 23 Oct 2007 02:52:07 -0400 Original-Received: from [60.216.135.5] (helo=debian.emacsfans.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IkDcU-0007is-DG for emacs-devel@gnu.org; Tue, 23 Oct 2007 02:52:06 -0400 Original-Received: from brep by debian.emacsfans.org with local (Exim 4.67) (envelope-from ) id 1IkDc9-0001Mp-JM; Tue, 23 Oct 2007 14:51:45 +0800 In-Reply-To: (Kenichi Handa's message of "Tue\, 23 Oct 2007 10\:54\:15 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:81510 gmane.emacs.gnus.general:65448 Archived-At: Kenichi Handa writes: > In article , Katsumi Yamaoka writes: > >> Is it possible to implement the `chinese-gbk' coding system (and >> also the charset) to the EMACS_22_BASE branch (i.e., Emacs 22.2)? > > The coding system is possible by mapping characters into > various existing CJ characters if we can ignore rarely used > few handreds characters. The code will be something like > the support of utf-8. > > But, Emacs 22 does't have a room to to make a charset for > GBK. Su Yong and Zan Jian wrote a package named `mule-gbk' which implement the GBK coding system, for more infomation: http://mule-gbk.sourceforge.net/ because there's no room for GBK charsets (3 Leading Bytes at least), mule-gbk occupied the leading bytes of Chinese-CNS-5, Chinese-CNS-6 and Chinese-CNS-7 charsets, these charsets are rarely used.