From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65443 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: chinese-gbk Date: Tue, 23 Oct 2007 08:42:03 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193096552 19801 80.91.229.12 (22 Oct 2007 23:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 23:42:32 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 01:42:31 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 1Ik6uk-00063w-Ba for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 01:42:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik6uc-00016t-Cm for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 19:42:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ik6uY-00015i-M0 for emacs-devel@gnu.org; Mon, 22 Oct 2007 19:42:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ik6uV-00015S-TB for emacs-devel@gnu.org; Mon, 22 Oct 2007 19:42:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik6uV-00015P-Pn for emacs-devel@gnu.org; Mon, 22 Oct 2007 19:42:15 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ik6uV-0004gx-CV for emacs-devel@gnu.org; Mon, 22 Oct 2007 19:42:15 -0400 Original-Received: from [66.225.201.151] (port=42491 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1Ik6v7-0004zM-Nq; Mon, 22 Oct 2007 18:42:54 -0500 X-Hashcash: 1:20:071022:emacs-devel@gnu.org::f3vIgY8TaLG4TRiL:0000000000000000000000000000000000000000003lrQ X-Hashcash: 1:20:071022:ding@gnus.org::rrv8NpRNaGlImdPd:00009Kuj X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:meAWamkz5l74y7R2rc/hMuCDCLU= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:81496 gmane.emacs.gnus.general:65443 Archived-At: Hi (Handa-san? :-), 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)? I heard that some Chinese messages use the gbk charset which is a superset of gb2312. A shar'd sample message is in: http://article.gmane.org/gmane.emacs.gnus.general/65424 (To extract a message, save a sh script part to a file, do chmod +x, and execute it.) Currently Gnus makes gbk be an alias to cp936 if gbk is not available. However, though I'm ignorant in Chinese, I can observe it doesn't work like it does in the Emacs Unicode-2. That is, gbk that is an alias to cp936 in Gnus is no more than a workaround for preventing the `Unknown charset' error (if there's no additional means to provide gbk, like [1]). Maybe to support gbk becomes indispensable like windows-1252 for Latin-1. Regards, [1] http://cache.gmane.org//gmane/emacs/gnus/general/65432-001.bin (Another package, named `mule-gbk', is also available but it requires cns11643.*-5,6,7 fonts, which in the intlfonts package seem to be incomplete.)