Python 3 UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: nerv-project/sphinx_weasyprint_builder#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I hit this error when running sphinx_weasyprint_builder on windows 10.
Solution is imho to change line 42 of weasyprint_builder.py into this:
with open(self.base_url, encoding='utf8') as htmlfile:
Thanks for your contribution, it's now uploaded to pypi.
Have a good day !