Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'charmap' codec can't decode byte #50

Open
sl3d-space opened this issue Oct 15, 2022 · 1 comment
Open

UnicodeDecodeError: 'charmap' codec can't decode byte #50

sl3d-space opened this issue Oct 15, 2022 · 1 comment
Labels

Comments

@sl3d-space
Copy link

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

@rossengeorgiev
Copy link
Contributor

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'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants