Make conversion of octet strings more robust
repod/files/mtree.py:
Change MTreeEntry.get_file_path()
and MTreeEntry.get_link_path()
to be more robust by first encoding to latin1, decoding using unicode-escape,
encoding again using latin1 and decoding once more using utf8.
This way a larger set of unicode characters can be covered (e.g.
cyrillic characters).
tests/files/test_mtree.py:
Change tests for MTreeEntry.get_file_path()
and
MTreeEntry.get_link_path()
to also cover file names/ link names with
cyrillic characters.
Fixes #97 (closed)
Edited by David Runge