Skip to content

Injecting the refresh script right after HEAD breaks utf-encoded pages #6

@holyjak

Description

@holyjak

Injecting the refresh script disables <meta charset=...> thus breaking any non-latin1 pages, primarily those using utf-8. As a result, ? will be displayed instead of some characters. This is because

<meta> elements which declare a character encoding must be located entirely within the first 1024 bytes of the document.

A possible solution would be perhaps to inject it right before the closing </head>?

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