From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46163 Path: main.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: Decoding ISO8859-15 -- offending headers Date: Mon, 19 Aug 2002 12:14:59 +0900 Sender: owner-ding@hpc.uh.edu Message-ID: <0461972e-ff17-49e4-9344-00dd20b42b14@deisui.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1029726928 26834 127.0.0.1 (19 Aug 2002 03:15:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2002 03:15:28 +0000 (UTC) Cc: TSUCHIYA Masatoshi Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gd0o-0006yC-00 for ; Mon, 19 Aug 2002 05:15:26 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17gczO-0005if-00; Sun, 18 Aug 2002 22:13:58 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 18 Aug 2002 22:14:29 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA21747 for ; Sun, 18 Aug 2002 22:14:10 -0500 (CDT) Original-Received: (qmail 15540 invoked by alias); 19 Aug 2002 03:13:34 -0000 Original-Received: (qmail 15535 invoked from network); 19 Aug 2002 03:13:33 -0000 Original-Received: from g96069.scn-net.ne.jp (HELO deisui.org) (210.231.96.69) by gnus.org with SMTP; 19 Aug 2002 03:13:33 -0000 Original-Received: from deisui.org (aquair [127.0.0.1]) by deisui.org (8.12.5/8.12.5/Debian-1) with ESMTP id g7J3F0CJ010757; Mon, 19 Aug 2002 12:15:00 +0900 X-Now-Playing: The Gathering's _if_then_else_: "Analog park" Original-To: ding@gnus.org X-Face: ki?-"~Ovqy(#SEZ2FpdUK,3>)p.@}$.vl{eIZ-Uy43$&[S1#'y{hX&A3T@xA)u0!_4Lg.vA ^{d(.VU0(X#Zf,~9Kha_$nl7W/(b9r;]%_&:OUA@g0LF'S2<%~T X-Attribution: DU In-Reply-To: (Simon Josefsson's message of "Sun, 18 Aug 2002 13:08:59 +0200") Original-Lines: 33 User-Agent: T-gnus/6.15.7 (based on Oort Gnus v0.07) (revision 02) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46163 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46163 >>>>> In >>>>> Simon Josefsson wrote: > I think I found the patch. I'll boot XEmacs to see what is breaking. > Masatoshi, do you remember the details? > * gnus-group.el (gnus-group-name-decode): Don't test > multibyte-string, because it breaks XEmacs. I should comment on this because I suggested him to remove the multibyte check. And, for my real intention, I can't read any Japanese newsgroups whose names are encoded in UTF-8[1] without the patch. I'll show you why the old group name encoder/decoder went wrong for both GNU Emacs and XEmacs-MULE. XEmacs-MULE: Without the patch, all the group names will be decoded twice because the current implementation of `mm-multibyte-string-p' for XEmacs is just an alias to `ignore'. Unfortunately, we can't implement working multibyte-string-p for XEmacs-MULE because XEmacs-MULE uses a Latin-1 character so as to represent a byte in the range from 160 to 255. See the last paragraph of "(internals)Character Sets" for details. GNU Emacs: nntp-server-buffer is marked as multibyte. A string picked from the buffer is always regarded as multibyte, unless it doesn't contain a non-ASCII character. Footnotes: [1] Section 5.5. in USEFOR draft: -- Daiki Ueno