vdf icon indicating copy to clipboard operation
vdf copied to clipboard

UnicodeDecodeError: 'charmap' codec can't decode byte

Open sl3d-space opened this issue 3 years ago • 1 comments

appmanifest_1406850.txt

Is there anything that can be done by the library user to have this file parsed correctly?

The problematic field is this one: "installdir" "The Legend of Liāu Thiam Ting"

Thanks

sl3d-space avatar Oct 15 '22 00:10 sl3d-space

Doesn't look like library issue. Whatever way you are loading the file is not using the correct codec when decoding the file.

Try: vdf.load(open('appmanifest_1406850.txt', encoding='utf8'))

rossengeorgiev avatar Oct 16 '22 08:10 rossengeorgiev