From: Sebastian Fischmeister <sfischme@uwaterloo.ca>
To: "W. Trevor King" <wking@tremily.us>
Cc: notmuch <notmuch@notmuchmail.org>
Subject: Re: UnicodeDecodeError with python API
Date: Sun, 29 Mar 2015 19:10:53 -0400 [thread overview]
Message-ID: <87ego7pfia.fsf@uwaterloo.ca> (raw)
In-Reply-To: <20150329163658.GK22036@odin.tremily.us>
> My first guess is that the file's encoding doesn't match your locale.
> Do you have a non-ASCII locale set? You can check with:
It seems to be more tricky than I thought. I didn't have a locale set.
When I set one, I can parse some emails with this:
export LANG=en_US.latin-1
Others with this:
export LANG=en_US.UTF-8
Others fail with either of the two.
I can display all messages correctly in emacs though.
Sebastian
next prev parent reply other threads:[~2015-03-29 23:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 13:08 UnicodeDecodeError with python API Sebastian Fischmeister
2015-03-29 16:36 ` W. Trevor King
2015-03-29 23:10 ` Sebastian Fischmeister [this message]
2015-03-30 5:26 ` W. Trevor King
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=87ego7pfia.fsf@uwaterloo.ca \
--to=sfischme@uwaterloo.ca \
--cc=notmuch@notmuchmail.org \
--cc=wking@tremily.us \
/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).