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

Incorrect static file encoding #258

Open
zolomatok opened this issue Aug 7, 2020 · 0 comments
Open

Incorrect static file encoding #258

zolomatok opened this issue Aug 7, 2020 · 0 comments

Comments

@zolomatok
Copy link

zolomatok commented Aug 7, 2020

Serving a static file ./public/yolo.txt that contains:

bla bla őúőúűáé

will result in Safari showing:

bla bla őúőúűáé

The file itself is UTF-8 encoded.


The program is simply:

import jester, htmlgen

routes:
    get "/":
        resp h1("Hello")

Jester 0.4.3

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