From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19841 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: bug: non-ASCII chars in Content-Description are broken Date: 13 Dec 1998 10:00:12 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158118 13682 80.91.224.250 (20 Oct 2002 23:55:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:55:18 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA27288 for ; Sun, 13 Dec 1998 03:35:20 -0500 (EST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id CAA32680; Sun, 13 Dec 1998 02:34:57 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 13 Dec 1998 02:34:59 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id CAA21017 for ; Sun, 13 Dec 1998 02:34:11 -0600 (CST) Original-Received: from sparky.gnus.org (ppp028.uio.no [129.240.240.29]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA27208 for ; Sun, 13 Dec 1998 03:34:03 -0500 (EST) Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.7/8.8.7) id KAA00826; Sun, 13 Dec 1998 10:06:15 +0100 Mail-Copies-To: never X-Now-Reading: Paul Auster's _Translations_ X-Now-Playing: Joni Mitchell's _The Hissing Of summer Lawns_: "The Jungle Line" Original-To: ding@gnus.org In-Reply-To: Vladimir Volovich's message of "11 Dec 1998 11:54:26 +0300" User-Agent: Gnus/5.070066 (Pterodactyl Gnus v0.66) XEmacs/21.2(beta3) (Aglaia) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > russian characters (and perhaps other non-ASCII chars) in > Content-Description are not encoded properly (perhaps they are put in > the internal Emacs-MULE encoding). I've fixed this in 0.66, but this brings up a policy issue. RFC2231. Has anyone heard of it? It specifies that non-ascii contents of headers such as this should be encoded thusly: Content-Type: application/x-stuff; title*0*=us-ascii'en'This%20is%20even%20more%20; title*1*=%2A%2A%2Afun%2A%2A%2A%20; title*2="isn't it!" Er. No, it doesn't; RFC2045 says that Content-Description should be encoded according to RFC2047. Never mind. But, like, the policy issue stands, because RFC2231 says that Content-Type should be encoded like the monstrosity above, and I've never seen one of these in real life. I've written the functions to encode and decode this, but, uhm, should Gnus use the encoding parts? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen