egmund
February 8, 2022, 4:40am
1
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
egmund
February 8, 2022, 4:50am
2
Figured it out: The database was set to latin1 - changed it to utf8 & all is fine.
markh
February 8, 2022, 11:46am
3
I’d suggest utf8mb4 for full unicode support - utf8 supports a lot, but not everything .
egmund
February 8, 2022, 12:19pm
4
Interesting. I will try this out. I now have utf8-general-ci (or something like that)
egmund
February 8, 2022, 12:23pm
5
Changed to utf8mb4-general-ci: Working fine.
system
Closed
February 10, 2022, 12:23pm
6
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”.