From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63849 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 17:59:06 +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=us-ascii X-Trace: sea.gmane.org 1161335009 13608 80.91.229.2 (20 Oct 2006 09:03:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2006 09:03:29 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, id.brep@gmail.com, ding@gnus.org Original-X-From: ding-owner+m12376@lists.math.uh.edu Fri Oct 20 11:03:27 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 1GaqHe-0005E1-TQ for ding-account@gmane.org; Fri, 20 Oct 2006 11:03:22 +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 1GaqHZ-0004IL-00; Fri, 20 Oct 2006 04:03:13 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GaqDy-0004IG-00 for ding@lists.math.uh.edu; Fri, 20 Oct 2006 03:59:30 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1GaqDw-0002bL-6O for ding@lists.math.uh.edu; Fri, 20 Oct 2006 03:59:30 -0500 Original-Received: from minsk.hostforweb.net ([66.225.201.21]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GaqDq-0005dc-00 for ; Fri, 20 Oct 2006 10:59:22 +0200 Original-Received: from localhost ([127.0.0.1]:60615) by minsk.hostforweb.net with esmtpa (Exim 4.52) id 1GaqDo-0001cV-U6; Fri, 20 Oct 2006 03:59:21 -0500 Original-To: Eli Zaretskii X-Hashcash: 1:20:061020:eliz@gnu.org::UwABM5NcUh90ls0e:000004Kkw X-Hashcash: 1:20:061020:emacs-pretest-bug@gnu.org::fxjj3cK9tYsPiVMR:0000000000000000000000000000000000001IRb X-Hashcash: 1:20:061020:id.brep@gmail.com::I/umcJ/TE254k3u2:000000000000000000000000000000000000000000005Vae X-Hashcash: 1:20:061020:ding@gnus.org::lVNznHp3ZAbzvs98:00002b6x 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:6ovGR4ftmh6tP7QX8TMZX0klat8= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - minsk.hostforweb.net X-AntiAbuse: Original Domain - gnus.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-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63849 gmane.emacs.pretest.bugs:14690 Archived-At: >>>>> In Eli Zaretskii wrote: >> Date: Fri, 20 Oct 2006 15:21:53 +0900 >> From: Katsumi Yamaoka >> Cc: emacs-pretest-bug@gnu.org, id.brep@gmail.com, ding@gnus.org >> >> 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'd say this design decision will certainly cause subtle bugs, such as > the one we are discussing in this thread. I suggest to modify the > design to not use encoded strings internally. I hastened to change the nndoc code so as to use encoded group names but I agree with you. Though to implement it will take efforts and a long time, I think it is a subject to have to be solved in the future anyway. BTW, I realized that I misunderstood Zhang Wei's case. The group name is encoded by gb2312, not utf-8, as Handa-san wrote. It might be the default of the nntp server that Zhang Wei uses, or the news administrator might have done something wrong. If it is utf-8, Gnus should work (in other words, there is currently no way to enable Gnus to handle gb2312 encoded group names).