开发者

Problems retrieving arabic text from the mysql

I'm working on a project using Zend-Framework that has two languages, Arabic and English ... I have a problem with the Arabic side of the website. When I save the data (Arabic text) from the Admin side of the website, the data is successfully saved and viewed on the front end, but whenever I save the data directly on 开发者_如何学编程PHP-my-Admin, the data isn't properly viewed, all I get is "Question Marks".

I checked the collation for the database and made sure UTF-8 is used everywhere ... Anyone got any idea what's wrong and how to fix the problem ??

Thanks


Are you sure that data is saved correctly in DB? Are these/such lines in your config file?:

db.params.driver_options.1002 = "SET NAMES utf8"
db.params.charset = utf8
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜