GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
147 stars 28 forks source link

Don't fail when using non UTF-8 charset #69

Open mowgli opened 4 years ago

mowgli commented 4 years ago

This patch fixes failure when using non UTF-8 charset.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.3%) to 91.281% when pulling efb2139eef76cf6e1bd6296bee861a001e2ceefd on mowgli:develop into d3e12d1c8d4d458b912425bb384bfd635a0a916a on robgolding:develop.

robgolding commented 4 years ago

I don't think we can feasibly use locale.nl_langinfo (yet), because it's not available on all systems on Python 2.7—which we still support for now.