Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported characters in content results in invalid json. #467

Open
BigBlockStudios opened this issue Jan 24, 2023 · 0 comments
Open

Unsupported characters in content results in invalid json. #467

BigBlockStudios opened this issue Jan 24, 2023 · 0 comments

Comments

@BigBlockStudios
Copy link

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"

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

No branches or pull requests

1 participant