Php Encoding
Mysql using utf8;so when Rails and Php query records fromtables should set encoding=utf8;
about Rails refer another article;
and the php,first be sure the editor save php file set theencoding utf8;
before query,add mysql_query("set namesutf8")
页:
[1]