我正在尝试保存±",ć",ł"等字符,但它们以问号形式保存在数据库中(我使用phpMyAdmin保存了它们).
I am trying to save characters like "ą", "ć", "ł" but they are saved in the database as question marks (I save them using phpMyAdmin).
数据库和表的排序规则是utf8_bin.
The database and table's collation is utf8_bin.
推荐答案尝试将排序规则更改为:
Try changing the collation to:
utf8_unicode_ci或
utf8_polish_ci您可以参考: mysql.rjweb/doc.php/charcoll
您还可以尝试通过以下方式更改特定列:
Also you can TRY altering the specific column with:
ALTER TABLE tbl MODIFY COLUMN txt TEXT CHARACTER SET utf8