Reputation: 1424
I have a small web-app/utility built with Codeigniter that seems to have become quiet popular in Arabic speaking countries - currently however all Arabic writing is converted to question marks - how do I go about supporting Arabic? Data is inputted by the user which is then retrieved from a database for future display.
The data inputted by the user is stored and retrieved from a MYSQL database and jQuery is used to handle Ajax calls if that makes any difference.
Is this a PHP/Codeigniter issue or a MYSQl one? (or both?)
Upvotes: 1
Views: 2427
Reputation: 156
Do you have a UTF-8 encoding meta tag while displaying content in arabic ?
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
Also please check here
http://osamaahmedattia.wordpress.com/2013/04/28/arabic-languages-in-codeigniter/
Upvotes: 2