Skip to content

Unsupported characters in content results in invalid json. #467

@BigBlockStudios

Description

@BigBlockStudios

Unsupported characters in content results in invalid json editor won't load. In my case this was caused by a collation/character set mismatch while uploading a database.
If these improperly encoded characters are in the page content - the editor won't load on the front end with a

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

error.
You get the same error if you create a new page but any elements containing improper characters will cause the editor to display
"SOMETHING WRONG HAPPENED"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions