From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64752 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: inline viewing can't display CJK characters Date: Mon, 04 Jun 2007 12:39:21 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1180928430 5235 80.91.229.12 (4 Jun 2007 03:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2007 03:40:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13263@lists.math.uh.edu Mon Jun 04 05:40:28 2007 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.50) id 1Hv3Qg-0006gT-47 for ding-account@gmane.org; Mon, 04 Jun 2007 05:40:26 +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 1Hv3QS-00021C-E2; Sun, 03 Jun 2007 22:40:12 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hv3QP-00020f-4l for ding@lists.math.uh.edu; Sun, 03 Jun 2007 22:40:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Hv3QN-0004BZ-MA for ding@lists.math.uh.edu; Sun, 03 Jun 2007 22:40:08 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Hv3QM-00038b-00 for ; Mon, 04 Jun 2007 05:40:06 +0200 Original-Received: from [216.246.45.90] (port=57494 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1Hv3Q6-0001Hn-TY for ding@gnus.org; Sun, 03 Jun 2007 22:39:51 -0500 X-Hashcash: 1:20:070604:ding@gnus.org::kGQDWrVcLAlDxXta:00008bll 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.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:xyodwcPYzDQj2d15GW2EW8FjYDo= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus 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 - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64752 Archived-At: --=-=-= >>>>> In Leo wrote: > To see the problem, go to the attachment in this post, hit 'E' and you > will see garbled characters. Because the supertype of that part is `application', not `text', Gnus considers there is no human readable text in it. It is decoded only by base64, as the part specifies. > Content-Type: application/emacs-lisp > Content-Disposition: attachment; filename=test.el > Content-Transfer-Encoding: base64 > Content-Description: test.el OTOH, `2 K i' or `i' on the button shows the decoded Chinese text, because the `i' command is for the use of ``View As Text, In This Buffer''. Only with No Gnus, you can add the coding cookie to such a file in order to specify the charset MIME parameter. For examples: --=-=-= Content-Type: application/emacs-lisp; charset=utf-8 Content-Disposition: attachment; filename=test1.el Content-Transfer-Encoding: base64 OzsgLSotIGNvZGluZzogdXRmLTg7IC0qLQooZGVmdW4gdGV4dCAoKQogICLov5nkuKrmmK/lh73m lbDjgIIiCiAgKGRvLW5vdGhpbmcpKQo= --=-=-= Content-Type: application/emacs-lisp; charset=utf-8 Content-Disposition: attachment; filename=test2.el Content-Transfer-Encoding: base64 KGRlZnVuIHRleHQgKCkKICAi6L+Z5Liq5piv5Ye95pWw44CCIgogIChkby1ub3RoaW5nKSkKCjs7 IExvY2FsIFZhcmlhYmxlczoKOzsgY29kaW5nOiB1dGYtOAo7OyBFbmQ6Cg== --=-=-= What handles such a parameter of an `application' MIME part might be only No Gnus, though. Or it might be better to use `text/emacs-lisp' instead, though I'm not sure such a type is widely known, either. Regards, --=-=-=--