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

Fix UnicodeDecodeError #13

Closed
github-young opened this issue Oct 1, 2024 · 1 comment
Closed

Fix UnicodeDecodeError #13

github-young opened this issue Oct 1, 2024 · 1 comment

Comments

@github-young
Copy link

github-young commented Oct 1, 2024

Hello, I found it reported the UnicodeDecodeError on Windows 11, Python 3.12, even though my tex and bib files are already ASCII.

UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 325323

It can be easily fixed by adding encoding="UTF-8" in each open() function in the code as I confirmed using my tex files. Thank you.

@jwcarr
Copy link
Owner

jwcarr commented Oct 2, 2024

Thanks! This should be fixed in version 0.3.3.

@jwcarr jwcarr closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants