From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.bugs Subject: Re: bad rfc2047 encoding Date: Thu, 22 Aug 2002 19:55:17 +0200 Sender: bug-gnu-emacs-admin@gnu.org 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 1030038905 925 127.0.0.1 (22 Aug 2002 17:55:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 17:55:05 +0000 (UTC) Cc: =?iso-8859-1?q?Bj=F8rn?= Mork , bugs@gnus.org, bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hwAd-0000El-00 for ; Thu, 22 Aug 2002 19:54:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hwBp-00086V-00; Thu, 22 Aug 2002 13:56:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hwB1-0007x4-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:55:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hwAz-0007ws-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:55:22 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hwAz-0007wn-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:55:21 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.5/8.12.5) with ESMTP id g7MHtHNJ024133; Thu, 22 Aug 2002 19:55:17 +0200 Original-To: Dave Love X-Hashcash: 0:020822:d.love@dl.ac.uk:b79e189371609a09 X-Hashcash: 0:020822:bmork@dod.no:f5639772309197ef X-Hashcash: 0:020822:bugs@gnus.org:b9c61d7ceafcf3cc X-Hashcash: 0:020822:bug-gnu-emacs@gnu.org:b3fd4c3a10de77af In-Reply-To: (Dave Love's message of "22 Aug 2002 12:50:41 +0100") Original-Lines: 23 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3283 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3283 Dave Love writes: >> I remember it didn't cope with non-ASCII properly at all. > > In what way? I went through checking for such problems long ago. I > doubtless missed some, and maybe some have been added since, but they > should be easy to fix. (Emacs 21 only -- I don't know how you'd do it > properly in XEmacs.) I don't have a failing test case, but I remember some discussion of this recently. >> > In this example the quoted-string should probably be unquoted and >> > then encoded. Or would that break something? >> >> It could perhaps encode the quotes too. > > The spirit of the RFC and examples seem to suggest unquoting the > string, encoding it, and (perhaps) re-quoting encoded word sequences > on decoding. Is the correct behaviour really not explicitly specified > somewhere? I dunno. Ask on some IETF list?