Python 3 UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d #1

Closed
opened 2 years ago by vri · 1 comments
vri commented 2 years ago

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:

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:
kujiu closed this issue 2 years ago
Owner

Thanks for your contribution, it's now uploaded to pypi.

Have a good day !

Thanks for your contribution, it's now uploaded to pypi. Have a good day !
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: nerv-project/sphinx_weasyprint_builder#1
Loading…
There is no content yet.