Suggested utf8 as mysql charset (that isn't utf8)

Suggested utf8 as mysql charset (that isn't utf8)

advaniaadvania Posts: 35Questions: 13Answers: 0

I'd like to suggest you change the editor config.php to suggest utf8mb4 instead of utf8 as mysql utf8 isn't.

"dsn" => "charset=utf8mb4", // PHP DSN extra information. Set as charset=utf8 if you are using MySQL

Replies

  • allanallan Posts: 63,576Questions: 1Answers: 10,483 Site admin

    Looking this up, it appears that MySQL's utf8 supports only three bytes, rather than the four required for full UTF8. I had no idea that was the case - thanks for letting me know about this. There is, as far as I can tell, no compatibility issue, so I've updated the documentation locally and will have it deployed along with the next release.

    Thanks for the suggestion,
    Allan

  • advaniaadvania Posts: 35Questions: 13Answers: 0

    np, thanks :)

This discussion has been closed.