From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79150 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.w3m Subject: Re: why Chinese just shown in byte codes? Date: Mon, 20 Jun 2011 09:54:39 +0900 Organization: Emacsen advocacy group Message-ID: References: <87wrgi3889.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308531364 32650 80.91.229.12 (20 Jun 2011 00:56:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2011 00:56:04 +0000 (UTC) Cc: emacs-w3m@namazu.org To: ding@gnus.org Original-X-From: ding-owner+M27449@lists.math.uh.edu Mon Jun 20 02:56:00 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QYSmV-00084p-G5 for ding-account@gmane.org; Mon, 20 Jun 2011 02:55:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QYSlo-0000yX-E9; Sun, 19 Jun 2011 19:55:16 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QYSll-0000yM-Rq for ding@lists.math.uh.edu; Sun, 19 Jun 2011 19:55:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QYSlk-0003gh-Hx for ding@lists.math.uh.edu; Sun, 19 Jun 2011 19:55:13 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QYSli-0006s3-Du for ding@gnus.org; Mon, 20 Jun 2011 02:55:10 +0200 Original-Received: from localhost ([127.0.0.1]:59403) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1QYSla-0007HK-A0; Sun, 19 Jun 2011 19:55:02 -0500 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.110018 (No Gnus v0.18) Emacs/24.0.50 (cygwin) Cancel-Lock: sha1:mMRM2DPjDpKjUZpAd4j57f5R4IU= 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 - 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: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79150 gmane.emacs.w3m:8826 Archived-At: jidanni@jidanni.org wrote: > Why is the following message's Chinese just displayed in octal codes, > and not real Chinese, like mutt(1) can see? [...] > Maybe the problem is in > " > Content-Type: text/plain; charset="UTF-8" > Digest for Group: > Chinese Speakers > http://www.couchsurfing.org/group.html?gid=42773 > Last Group Digest Sent: Jun 19 12:55 am > " That's indeed just the cause (w3m is not, as Steinar Bang said). > Well mutt(1) can deal with it. Maybe gnus/w3m could be less strict about > formatting? I don't know mutt, but I don't think every MUA worth dealing with such a broken thing. If you often get such mails, this will help (waste time a bit even with normal mails, though). (defadvice rfc2231-parse-string (before separate-charset-token activate) "Separate charset token being not terminated." (if (string-match "\\(charset=[^\t\n ]+\\)[\t\n ]*[^\t\n ;]" (ad-get-arg 0)) (ad-set-arg 0 (concat (substring (ad-get-arg 0) 0 (match-end 1)) ";" (substring (ad-get-arg 0) (match-end 1))))))