unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Albin Stjerna <albin.stjerna@gmail.com>, notmuch@notmuchmail.org
Subject: Re: Problem with invalid characters when using notmuch-reply
Date: Mon, 04 Jun 2012 13:09:28 +0300	[thread overview]
Message-ID: <m2haurl76v.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <87r4tvmoeq.fsf@hecate.student.uu.se>

On Mon, Jun 04 2012, Albin Stjerna <albin.stjerna@gmail.com> wrote:

> Hi!
>
> I have a very confusing problem. When replying to a message containing
> special characters (read: non-ascii), they show up as mysteriously
> escaped characters, such as \345 (where the letter ä should be). When
> sending these replies, I get an error about my message containing
> non-printable characters. When these messages arrive, the special
> characters (even those I entered, that looked fine in the mail compose
> buffer) are garbled.
>
> Everything works fine when composing a new message. The problem only
> appears when replying. The problem appeared quite recently, apparently
> out of nowhere. No emacs upgrade, no notmuch upgrade (as far as I can
> recall).
>
> The problem is appears in both Emacs 23 and 24, and restart (neither of Emacs nor of my computer) doesn't help.
>
> Also:
> albin@hecate ~ % notmuch --version
> notmuch 0.13

Notmuch 0.13.1 fixed this problem -- excerpt from NEWS file:

Notmuch 0.13.1 (2012-05-29)
===========================

Bug-fix release
---------------

Fix inserting of UTF-8 characters from *text/plain* parts in reply

  While notmuch gained ability to insert content from other than
  *text/plain*
  parts of email whenever *text/plain* parts are not available (notably
  HTML-only emails), replying to mails that do have *text/plain* the
  non-ASCII characters were incorrectly decoded. This is now fixed.


>
> albin@hecate ~ % locale
> LANG=en_US.utf8
> LANGUAGE=
> LC_CTYPE="en_US.utf8"
> LC_NUMERIC="en_US.utf8"
> LC_TIME="en_US.utf8"
> LC_COLLATE="en_US.utf8"
> LC_MONETARY="en_US.utf8"
> LC_MESSAGES="en_US.utf8"
> LC_PAPER="en_US.utf8"
> LC_NAME="en_US.utf8"
> LC_ADDRESS="en_US.utf8"
> LC_TELEPHONE="en_US.utf8"
> LC_MEASUREMENT="en_US.utf8"
> LC_IDENTIFICATION="en_US.utf8"
> LC_ALL=
>
> notmuch reply (on the command line) seems to work just fine.
>
> Any pointers you can give me would be greatly appreciated!

Thank you for the good information you provided in your report!

> Thanks in advance,
>   Albin

Tomi

      reply	other threads:[~2012-06-04 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04  9:12 Problem with invalid characters when using notmuch-reply Albin Stjerna
2012-06-04 10:09 ` Tomi Ollila [this message]

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=m2haurl76v.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --cc=albin.stjerna@gmail.com \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).