摘要: linux 命令行查看mysql的库字符集是utf8,查询某个表时,仍然是显示不了中文,之后使用了命令 mysql>set names utf8;就可以正常显示中文了。如何才更好的使mysql支持显示中文呢?第一,创建table的时候就使用utf8编码;create table entries2 ( id int auto_increment, title text, content text, posted_on datetime, primary key (id) ) character set = ... 阅读全文
posted @ 2013-11-22 15:58 静心聆听 阅读(4384) 评论(0) 推荐(0) 编辑