Skip to content

The noscript tag generates encoding error within Liquid #18

@gergelypolonkai

Description

@gergelypolonkai

When I insert one of my gists with Unicode characters in it (e.g. this one) I get a Liquid error:

Liquid Exception: incompatible character encodings: UTF-8 and ASCII-8BIT

After a bit of debugging it turned out that the contents of the Gist is not encoded right, most probably because github itself doesn’t send a Content-Type header or any other means of specifying the encoding of the raw Gist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions