开发者

Echo Internation language retrieved from MySQL Db

I have setup my DB collation to utf8_unicode_ci but when echo the results of db it prints out ??? or dif开发者_开发百科ferents charachters for different internation languages, any idea what is wrong?

My html header is <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


As Shrapnel commented, solution is mysql_set_charset('utf8');

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜