unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Problem with invalid characters when using notmuch-reply
@ 2012-06-04  9:12 Albin Stjerna
  2012-06-04 10:09 ` Tomi Ollila
  0 siblings, 1 reply; 2+ messages in thread
From: Albin Stjerna @ 2012-06-04  9:12 UTC (permalink / raw)
  To: notmuch

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

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!

Thanks in advance,
  Albin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with invalid characters when using notmuch-reply
  2012-06-04  9:12 Problem with invalid characters when using notmuch-reply Albin Stjerna
@ 2012-06-04 10:09 ` Tomi Ollila
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Ollila @ 2012-06-04 10:09 UTC (permalink / raw)
  To: Albin Stjerna, notmuch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-04 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04  9:12 Problem with invalid characters when using notmuch-reply Albin Stjerna
2012-06-04 10:09 ` Tomi Ollila

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).