This workaround fixes an encoding issue I ran into when trying to use pybib with Python 2.7.
If text contains non-ascii characters Python 2.7 throws a UnicodeEncodeError and pybib won't work.
It might not be the most elegant way to fix this issue, but it does the job :)
Coverage increased (+0.4%) to 78.808% when pulling 59a0be5f96e559206ec6c3abf2b30ec4b6cca852 on ap--:master into e6f43f15a1f42cb077edcf17add4cfd2f62bf0ef on jgilchrist:master.
Hi jgilchrist,
This workaround fixes an encoding issue I ran into when trying to use pybib with Python 2.7. If text contains non-ascii characters Python 2.7 throws a UnicodeEncodeError and pybib won't work. It might not be the most elegant way to fix this issue, but it does the job :)
All the best, -Andreas