Skip to content

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 15703: character maps to <undefined> #5

Open
@Llaves

Description

@Llaves

It appears this is caused by a double quote char in cp1252 not matching the position in UTF-8. The fix is in line 72 -

    soup = BeautifulSoup(open(os.path.join("doc.qt.io", c[-1]), encoding="utf8"), "lxml")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions