Gnus development mailing list
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: ding@gnus.org
Subject: Re: Garbled display of UTF-8 encoded mails
Date: Tue, 23 Nov 2010 22:03:34 +0100	[thread overview]
Message-ID: <87vd3neord.fsf@turtle.gmx.de> (raw)
In-Reply-To: <874ob7g5r7.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue, 23 Nov 2010 21:11:08 +0100")

On 2010-11-23 21:11 +0100, Sven Joachim wrote:

> Hi,
>
> 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 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

    * binhex.el (binhex-decode-region-internal)
    * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
    (dns-query)
    * nnweb.el (nnweb-gmane-search)
    * pgg-parse.el (pgg-parse-armor)
    * pgg.el (pgg-verify-region)
    * sha1.el (sha1-string-external)
    * uudecode.el (uudecode-decode-region-internal)
    * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
    XEmacs.
    
    * gnus-art.el (gnus-article-browse-html-parts)
    * gnus-group.el (gnus-read-ephemeral-gmane-group)
    (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
    make-temp-file.
    
    * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
    gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
    compiling.
    
    * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
    gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
    XEmacs when compiling.
    
    * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
    gnus-pick-mode-off-hook for XEmacs when compiling.
    (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
    gnus-binary-mode-off-hook for XEmacs when compiling.
    
    * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
    nil if char-charset is not available.
    
    * imap.el (imap-disable-multibyte)
    * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as a
    macro.
    
    * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
    instead of encode-coding-string.
    
    * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
    'xemacs) instead of mm-emacs-mule to switch function definitions.
    (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
    
    * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
    bind temporary-file-directory for XEmacs;
    fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
    timer-set-function for XEmacs 21.4 and SXEmacs;
    bind timer-list for XEmacs 21.4 and SXEmacs;
    fbind char-charset and find-charset-region for non-Mule XEmacs;
    fbind decode-coding-region, decode-coding-string, detect-coding-region,
    encode-coding-region and encode-coding-string for XEmacs having no
    file-coding feature.


I refrain from including the whole diff which is more than 500 lines and
touches 20 files. :-/  Going to find out what exactly broke things
tomorrow, unless somebody (Katsumi?) beats me to it.

Sven



  reply	other threads:[~2010-11-23 21:03 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 [this message]
2010-11-24  4:39   ` Katsumi Yamaoka
2010-11-24  6:27     ` Sven Joachim
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=87vd3neord.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=ding@gnus.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).