Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: RFC 2047 encoded headers are causing unbalanced '"'
Date: Thu, 01 Mar 2007 23:01:57 +0100	[thread overview]
Message-ID: <v9k5y062sq.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87fy8oss7m.fsf@kosh.bigo.ensc.de>

On Thu, Mar 01 2007, Enrico Scholz wrote:

> | "Für mich" <foo>
>
> (first name is an 'F' plus a german &uuml; umlaut). Gnus encodes this as
>
> | =?iso-8859-1?Q?=22F=FCr?= mich" <foo>
>
> which is rejected by sendmail with
>
> | DSN: =?iso-8859-1?Q?=22F=FCr?= mich" <foo>... Unbalanced '"'

> I am using Gnus v5.10.7 with "XEmacs 21.5 (beta27) "fiddleheads"

This problem (I'm unsure if it's a bug) has been fixed in the stable
branch and in the trunk.  I'm not sure if the change was after the
release of 5.10.8 or not.

$ emacs22 -Q -f ielm

ELISP> (require 'rfc2047)
rfc2047
ELISP> (rfc2047-encode-string "To: \"Für mich\" <foo@bar>")
"To: =?utf-8?Q?F=C3=BCr_mich?= <foo@bar>"
ELISP> (setq mm-coding-system-priorities '(iso-8859-1))
(iso-8859-1)

ELISP> (rfc2047-encode-string "To: \"Für mich\" <foo@bar>")
"To: =?iso-8859-1?Q?F=FCr_mich?= <foo@bar>"
ELISP> 

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2007-03-01 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 19:02 Enrico Scholz
2007-03-01 22:01 ` Reiner Steib [this message]
2007-03-01 23:14   ` Enrico Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9k5y062sq.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).