Closed kepstin closed 10 years ago
Thanks for reporting this! It should be fixed now.
Please let me know if it works for you. If so, I'll prepare a new release with the fix.
Everything is working as expected with your patch, thanks.
jsonpointer 1.4 has just been released with this fix. Thanks!
Hi, I'm seeing the following error:
This is causing issues during linux distribution software packaging, where you often can't rely on having a unicode locale set.
The issue appears to be that in the 'C' locale, python is defaulting to ASCII decoding rather than UTF-8. You should explicitly state the encoding of the file being opened to solve this issue; the syntax
io.open(filename, encoding="utf-8")
should work in python2.6 and newer (including python3).