aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorGravatar Martin Owens <doctormo@gmail.com>2011-09-16 13:19:14 +0200
committerGravatar Sebastian Spaeth <Sebastian@SSpaeth.de>2011-09-16 13:19:14 +0200
commit8e7a108363574ad3a342ed33a7c61c7dea65dc8a (patch)
tree752628cd22ae12e2adf12a4f9449fba4a01a3c06 /notmuch-new.c
parentbdaee77e1b0853b0dab00565e4c5b6164248f85a (diff)
python: Ensure that we pass utf-8 encoded string to libnotmuch
If we use unicode objects, libnotmuch would not cope with null bytes in the byte array, so we need to make sure they are nicely formatted as utf-8. Introduce a helper function _str which does this throughout the code. Patch slightly modified by Sebastian Spaeth. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'notmuch-new.c')
0 files changed, 0 insertions, 0 deletions