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

Add UTF-8 encoding hints #219

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Add UTF-8 encoding hints #219

merged 1 commit into from
Aug 26, 2024

Conversation

stanio
Copy link
Contributor

@stanio stanio commented Aug 24, 2024

text/plain (vs. application/json) should have charset specified:

Apart from that, specify @charset in viewer.css to ensure correct decoding of generated content declarations:

Fixes #218

text/plain (vs. application/json) should have charset specified:

-   https://datatracker.ietf.org/doc/html/rfc1521#section-7.1.1

Apart from that, specify @charset in "viewer.css" to ensure correct
decoding of generated 'content' declarations:

-   https://developer.mozilla.org/en-US/docs/Web/CSS/@charset

Fixes bhollis#218
@bhollis bhollis merged commit 6e12fa2 into bhollis:master Aug 26, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

expand/collapse icons showing as weird unicode characters
2 participants