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

Utf-8 support #27

Open
vds2212 opened this issue Jan 11, 2021 · 0 comments
Open

Utf-8 support #27

vds2212 opened this issue Jan 11, 2021 · 0 comments

Comments

@vds2212
Copy link

vds2212 commented Jan 11, 2021

Dear InstantRst,

It seems that when the file contains utf-8 code (that are not ascii code) the server fail to serve.
In the code of server.py I have replace

open(file, "r")

by

open(file, mode="rt", encoding="utf8")

To solve the problem.

Best regards,
Vivian.

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

1 participant