-
Notifications
You must be signed in to change notification settings - Fork 129
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
UnicodeDecodeError: 'utf-8' codec can't decode byte #5
Comments
that's because there is a special character (probably an emoji or some foreign letter) inside your HTML You can either update the file_read function to sort/filter out special characters or convert your HTML with a tool that can |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to add some (very old) static HTML files using /add filename.html and got this:
Inside a venv, Python 3.11, Windows 11.
Versions:
The text was updated successfully, but these errors were encountered: