From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63854 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: `.newsrc.eld' saves chinese group name in wrong coding Date: Sat, 21 Oct 2006 10:01:34 +0900 Message-ID: References: <87mz7tm2wn.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1161392464 6602 80.91.229.2 (21 Oct 2006 01:01:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2006 01:01:04 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, yamaoka@jpl.org, id.brep@gmail.com, ding@gnus.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Sat Oct 21 03:01:03 2006 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gb5EP-0003Z1-0N for gebp-emacs-pretest-bug@gmane.org; Sat, 21 Oct 2006 03:00:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gb5EO-00025G-D7 for gebp-emacs-pretest-bug@gmane.org; Fri, 20 Oct 2006 21:00:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gb5ED-00021d-MV for emacs-pretest-bug@gnu.org; Fri, 20 Oct 2006 21:00:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gb5ED-00021J-4m for emacs-pretest-bug@gnu.org; Fri, 20 Oct 2006 21:00:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gb5EC-00021B-Us for emacs-pretest-bug@gnu.org; Fri, 20 Oct 2006 21:00:44 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gb5EB-0004rh-AE; Fri, 20 Oct 2006 21:00:43 -0400 Original-Received: from smtp1.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k9L10dDV002464; Sat, 21 Oct 2006 10:00:39 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id k9L10axG021938; Sat, 21 Oct 2006 10:00:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1Gb5F0-0000p4-00; Sat, 21 Oct 2006 10:01:34 +0900 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Fri, 20 Oct 2006 08:38:42 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:14711 gmane.emacs.gnus.general:63854 Archived-At: In article , Eli Zaretskii writes: > > 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 agree. Keeping around encoded strings quite easily leads to bugs. String/buffer should be encoded only just before writing out. --- Kenichi Handa handa@m17n.org