Chinese characters not showing

Summary

Chinese characters turn into questionmarks

Step to reproduce

Inserting chinese into a page (resource) in MODX 3

Observed behavior

As soon as I leave the resource and go back the chinese characters have been ‘converted’ into questionmarks

Expected behavior

Well, what do you think?

Environment

MODX version 3

Figured it out: The database was set to latin1 - changed it to utf8 & all is fine.

I’d suggest utf8mb4 for full unicode support - utf8 supports a lot, but not everything.

Interesting. I will try this out. I now have utf8-general-ci (or something like that)

Changed to utf8mb4-general-ci: Working fine.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.