Skip to content

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

Open

Description

@sl3d-space

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

Activity

  1. rossengeorgiev commented on Oct 16, 2022

    @rossengeorgiev
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions