Skip to content

Add UTF-8 encoding hints#219

Merged
bhollis merged 1 commit intobhollis:masterfrom
stanio:text-encoding
Aug 26, 2024
Merged

Add UTF-8 encoding hints#219
bhollis merged 1 commit intobhollis:masterfrom
stanio:text-encoding

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
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