Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Subject: Charset encoding brokenness
Date: Mon, 27 Oct 2003 22:49:52 +0100	[thread overview]
Message-ID: <m37k2q5p1b.fsf@defun.localdomain> (raw)

Charset encoding is currently broken in quite a few places, viz.

· Forwarding.  `C-u N C-c C-f' for N=1,2,4 is broken if the CTE of
  the forwarded message is 8bit.

· Digesting.  `S o p' and `S o m' is similarly broken if
  `message-forward-as-mime' is nil.

· Resending.  `S D e' is also broken.

· Bouncing.  Ditto for `S D b'.

The last two problems were introduced by me :-(

In all cases the bug occurs because the body of the
forwarded/bounced/etc message is inserted without being decoded.

This means that the 8bit characters get the charset
`eight-bit-graphic' which breaks the message in various ways.

It's easiest to observe for utf-8 (with CTE 8bit) -- for Latin-1
you'll probably need to do `C-u C-x =' to see it immediately.

Unfortunately, I can't think of any obvious way to fix it.  Ideas?




             reply	other threads:[~2003-10-27 21:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27 21:49 Jesper Harder [this message]
2003-10-28  0:48 ` Simon Josefsson
2003-10-28  1:42   ` Jesper Harder
2003-10-28  3:01     ` Jesper Harder
2003-10-28  7:07       ` Vasily Korytov
2003-10-28 16:41         ` Jesper Harder
2003-10-29  7:03           ` Vasily Korytov
2003-10-29 12:39             ` Vasily Korytov
2003-10-29 21:22             ` Simon Josefsson
2003-10-29 21:30       ` Simon Josefsson
2003-10-29 21:17     ` Simon Josefsson
2003-10-31 16:29 ` Simon Josefsson
2003-10-31 22:23   ` Jesper Harder

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=m37k2q5p1b.fsf@defun.localdomain \
    --to=harder@ifa.au.dk \
    /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).