From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63847 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.pretest.bugs Subject: Re: `.newsrc.eld' saves chinese group name in wrong coding Date: Fri, 20 Oct 2006 15:21:53 +0900 Organization: Emacsen advocacy group Message-ID: References: <87mz7tm2wn.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: sea.gmane.org 1161325520 14524 80.91.229.2 (20 Oct 2006 06:25:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2006 06:25:20 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, id.brep@gmail.com, ding@gnus.org Original-X-From: ding-owner+m12374@lists.math.uh.edu Fri Oct 20 08:25:16 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ganoc-0002xT-9a for ding-account@gmane.org; Fri, 20 Oct 2006 08:25:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GanoX-00044h-00; Fri, 20 Oct 2006 01:25:05 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ganlh-00044c-00 for ding@lists.math.uh.edu; Fri, 20 Oct 2006 01:22:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1Ganlf-0001u3-D4 for ding@lists.math.uh.edu; Fri, 20 Oct 2006 01:22:09 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ganld-0003jb-00 for ; Fri, 20 Oct 2006 08:22:06 +0200 Original-Received: from [205.234.185.198] (port=42928 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1Ganls-0002rc-Fq; Fri, 20 Oct 2006 01:22:20 -0500 Original-To: Eli Zaretskii X-Hashcash: 1:20:061020:eliz@gnu.org::iJtlRIk9HdjFruLC:000002KQE X-Hashcash: 1:20:061020:emacs-pretest-bug@gnu.org::ydYSFEYO1uHCAOeY:0000000000000000000000000000000000001xuT X-Hashcash: 1:20:061020:id.brep@gmail.com::ubEOXTN5B2y8wlw6:000000000000000000000000000000000000000000001cf5 X-Hashcash: 1:20:061020:ding@gnus.org::NcvQgTBCu5jo4SAT:00004b0G 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.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:QHEWnLqBXgA2LPJoVMPahqn0l2E= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63847 gmane.emacs.pretest.bugs:14688 Archived-At: >>>>> In Eli Zaretskii wrote: >> Date: Thu, 19 Oct 2006 18:03:55 +0900 >> From: Katsumi Yamaoka >> Cc: Zhang Wei , ding@gnus.org >> >> All group names should be utf-8 encoded for the internal use in Gnus > I don't know anything about Gnus, but is this sentence really right? > Gnus is part of Emacs, and Emacs normally doesn't use encoded strings > internally, it only encodes them when it writes them to a file or > sends them to a program. > Did you perhaps mean ``all group names should use characters from the > mule-unicode-* character set''? That would make sense to me. No, Gnus uses `(encode-coding-string "name" 'utf-8)' as a group name internally. IIRC, nntp servers understand utf-8 encoded group names. So, someone might have considered making Gnus use them internally is convenient to communicate with nntp servers. I'm not quite sure it is the best way even if the way was easy to enable Gnus to use non-ASCII group names.