Skip to content

Utf-8 support #27

Description

@vds2212

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions