我可以在 utf8mb4 mysql 数据库中安全地使用 utf8 表和列吗?

Can I safely use utf8 tables and columns in utf8mb4 mysql database?

我希望我的数据库中至少有一些列使用 utf8mb4,因为它们必须存储包含表情符号的文本。我一直在本地为一个相当大的项目测试一些东西,我已经按照本指南 (https://mathiasbynens.be/notes/mysql-utf8mb4) 中的步骤进行了操作,并执行了以下操作:

现在可以为这些列使用表情符号。

我读到 utf8mb4 与 utf8 完全兼容,从我测试的内容来看,一切似乎都很好。问题是:这样做安全吗?

I've read that utf8mb4 is fully compatible with utf8, and from what I've tested everything seems fine. The question is: Is [mixing utf8 and utf8mb4 in the same database] safe to do?

是的。