将 CJK 字符保存到我的 MYSQL DB 时出现问题,问号显示在 DB 中。我已经通过写入文本文件测试了客户端输入,这似乎很好,所以我预计问题出在服务器上,可能是 Windows 问题。有人能帮忙吗?
我的字符集变量是:
+--------------------------+----------------------------------------+
| Variable_name | Value |
+--------------------------+----------------------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | latin1 |
| character_set_system | utf8 |
+--------------------------+----------------------------------------+