unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Sebastian Spaeth <Sebastian@SSpaeth.de>
To: Martin Owens <doctormo@gmail.com>
Cc: Notmuch developer list <notmuch@notmuchmail.org>,
	Paul Tagliamonte <tag@pault.ag>
Subject: Re: Python Unicode Was: Not much database creation error
Date: Fri, 16 Sep 2011 13:32:53 +0200	[thread overview]
Message-ID: <87zki4afiy.fsf@SSpaeth.de> (raw)
In-Reply-To: <1316108471.2201.24.camel@delen>

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On Thu, 15 Sep 2011 13:41:11 -0400, Martin Owens wrote:
> I've attached a diff for some proposed changes to help make dealing with
> unicode and strings in the bindings more regular. I noticed some of the
> methods were protected and others were not.

I've now pushed a slightly modified version of the patch (BTW, you have
find_message_by_filename() when I don't, care to send that patch too?
:-))

As discussed on IRC with Bremner and ojwb: Rather than hardcoding UTF-8
we should probably detect the systems locale variable and use that as
encoding for file paths (falling back to utf8).

But your patch is better than what we have before, so it's going in for
now.

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2011-09-16 11:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1315110898.32058.13.camel@delen>
2011-09-05 13:57 ` Not much database creation error Sebastian Spaeth
2011-09-07  5:26   ` Martin Owens
2011-09-08 13:45     ` Sebastian Spaeth
2011-09-08 14:01       ` Martin Owens
2011-09-15 17:41       ` Python Unicode Was: " Martin Owens
2011-09-15 18:12         ` Austin Clements
2011-09-16 11:32         ` Sebastian Spaeth [this message]
2011-09-16 11:41         ` Sebastian Spaeth

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=87zki4afiy.fsf@SSpaeth.de \
    --to=sebastian@sspaeth.de \
    --cc=doctormo@gmail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=tag@pault.ag \
    /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).