Naruto
Naruto

Reputation: 6668

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

Upvotes: 0

Views: 1521

Answers (1)

Andron
Andron

Reputation: 6621

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

Upvotes: 1

Related Questions