Skip to content

Rendering URLs with missing charset from response results in wrong encoding #44

@cburgmer

Description

@cburgmer

Rendering a page with an encoding different to the current document will yield "mojibake" when the server does not indicate the page's encoding in the response header.

Solution could be to use the
xhr.responseType = "document";
xhr2 feature, see https://developer.mozilla.org/en-US/docs/HTML_in_XMLHttpRequest when requesting urls through drawURL().

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