From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44582 Path: main.gmane.org!not-for-mail From: Jinhyok Heo Newsgroups: gmane.emacs.gnus.general Subject: Re: Fail to encode attachement filenames properly. Date: Thu, 02 May 2002 09:56:18 +0900 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020305861 3274 127.0.0.1 (2 May 2002 02:17:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 May 2002 02:17:41 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1736A9-0000qh-00 for ; Thu, 02 May 2002 04:17:41 +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 17368Z-00007z-00; Wed, 01 May 2002 21:16:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 May 2002 21:16:17 -0500 (CDT) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA13444 for ; Wed, 1 May 2002 21:16:09 -0500 (CDT) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id g422Fp430116 for ding@hpc.uh.edu; Wed, 1 May 2002 21:15:51 -0500 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 TAA13182 for ; Wed, 1 May 2002 19:56:39 -0500 (CDT) Original-Received: (qmail 28880 invoked by alias); 2 May 2002 00:56:20 -0000 Original-Received: (qmail 28875 invoked from network); 2 May 2002 00:56:19 -0000 Original-Received: from unknown (HELO www.okpos.com) (root@61.82.64.4) by gnus.org with SMTP; 2 May 2002 00:56:19 -0000 Original-Received: (from novembre@localhost) by www.okpos.com (8.11.6/8.11.6/SuSE Linux 0.5) id g420uJY20294 for ding@gnus.org; Thu, 2 May 2002 09:56:19 +0900 Original-To: ding@gnus.org In-Reply-To: (Jesper Harder's message of "Tue, 30 Apr 2002 15:33:24 +0200") Original-Lines: 45 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux) X-Delivery-Agent: TMDA/0.54+ Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44582 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44582 >>>>> "JH" == Jesper Harder writes: JH> novembre+dated+1020567757.8c22a8@ournature.org (Jinhyok Heo) writes: > If I send a non-latin filename attachment, Gnus seems to fail to > encode it properly. > > For example, a correct attachement mime part would start like the > following. > ,-------------------------------------------- > Content-Type: application/octet-stream; > name="=?euc-kr?B?tOuxuLGztbW80ijAzrHHwKew+LmuKS5od3A=?=" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="=?euc-kr?B?tOuxuLGztbW80ijAzrHHwKew+LmuKS5od3A=?=" > `-------------------------------------------- JH> This is not standards compliant. The filename parameter should be JH> encoded using RFC 2231, not an RFC 2047 encoding as in your example. Well, I didn't know that which one is standard comliant. I appreciate your information. The above one was excerpted from a M$-outlook mail. > But my Gnus which I got it from cvs recently makes mime parts like > ,-------------------------------------------- > Content-Type: application/octet-stream > Content-Disposition: attachment; > filename*=euc-kr''kin_%bc%b3%b9%ae%c1%f6.hwp > Content-Transfer-Encoding: base64 > `-------------------------------------------- JH> This looks correct to me. But people who use M$-outlook or many webmails have trouble with attachments I send to them. I just have to wait and see for M$-outlook to be standard compliant in the future? -- | Jinhyok Heo (novembre @ ournature.org || http://ournature.org/~novembre/) |-------------------------------------------------------------------------- | "We are still reaching for the sky. In the developed countries people | are coming back down, saying, `It's empty up there.'" --- a Ladakhi monk