Gnus development mailing list
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: ding@gnus.org
Cc: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Garbled display of UTF-8 encoded mails
Date: Wed, 24 Nov 2010 07:27:19 +0100	[thread overview]
Message-ID: <87lj4jdyns.fsf@turtle.gmx.de> (raw)
In-Reply-To: <b4mwro3e3nq.fsf@jpl.org> (Katsumi Yamaoka's message of "Wed, 24 Nov 2010 13:39:21 +0900")

On 2010-11-24 05:39 +0100, Katsumi Yamaoka wrote:

> Sven Joachim wrote:
>>> during the last weeks I encountered a problem viewing articles (mainly
>>> mails) with non-ASCII characters, e.g. a German Umlaut "Ü" is displayed
>>> as an octal digit, \334.  This happens only if the message is encoded
>>> like this:
>>>
>>> Content-Type: text/plain; charset=utf-8
>>> Content-Transfer-Encoding: 8bit
>
> It seems to be due to a bug in sender's mailer.

Not really.

> (encode-coding-string "Ü" 'utf-8) => "\303\234"
> (encode-coding-string "Ü" 'iso-8859-1) => "\334"

But in the raw article (when pressing C-u C-u g) I _do_ see \303\234, so
the charset seems to be declared correctly.  And when viewing the same
article on Gmane (which changes Content-Transfer-Encoding to
quoted-printable) everything looks fine.

>>> It does not happen with charset=iso-8859-1 or Content-Transfer-Encoding:
>>> quoted-printable (thus you cannot reproduce it with articles from
>>> Gmane).  Any idea what might have caused this?
>
>> I bisected the problem and found out that commit bda3e8962a is the
>> culprit:
>
>> commit bda3e8962af0aee90144c3ae8c5360aa4c106d94
>> Author: Katsumi Yamaoka <yamaoka@jpl.org>
>> Date:   Fri May 7 06:34:41 2010 +0000
>
> I tried old Gnus of Apr. 2010 but found no difference.

Maybe you'll see a difference in this mail.  I include characters
that cannot be encoded as iso-8859-1 and CC you.  Hopefully no-one
changes Content-Transfer-Encoding on the way.

„Schöne Grüße aus Übersee“,
Sven



  reply	other threads:[~2010-11-24  6:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 20:11 Sven Joachim
2010-11-23 21:03 ` Sven Joachim
2010-11-24  4:39   ` Katsumi Yamaoka
2010-11-24  6:27     ` Sven Joachim [this message]
2010-11-24  7:03       ` Sven Joachim
2010-11-24  7:15         ` Katsumi Yamaoka
2010-11-24  7:17         ` Sven Joachim
2010-11-24  7:28           ` Katsumi Yamaoka
2010-11-24  7:58             ` Sven Joachim
2010-11-24 10:19   ` Sven Joachim
2010-11-24 12:54     ` Sven Joachim
2010-11-24 21:07       ` Lars Magne Ingebrigtsen

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=87lj4jdyns.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=ding@gnus.org \
    --cc=yamaoka@jpl.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).