在将数据库和表都设置为utf-8编码时,仍然中文显示问号,解决办法:
linux修改 /etc/my.cnf
[client]
default-character-set=utf8
[server]
default-character-set=utf8
[mysql]
default-character-set = utf8
[mysqld]
default-character-set=utf8
在将数据库和表都设置为utf-8编码时,仍然中文显示问号,解决办法:
linux修改 /etc/my.cnf
[client]
default-character-set=utf8
[server]
default-character-set=utf8
[mysql]
default-character-set = utf8
[mysqld]
default-character-set=utf8