lebedov/msgpack-numpy

Can't open files created in 0.3.6 using latest code

Closed this issue · 1 comments

Hi, thanks for this useful library. After this commit:
be01578
I can't open files created prior to it, in Python 2.7.11. I get a UnicodeDecodeError, e.g.
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9b in position 0: invalid start byte
If you are aware that it's not backwards-compatible, no worries and feel free to close. But, it would be great if it was!

You should still be able to decode data that was encoded with earlier revisions if you set encoding=None when calling load or loads.