I have some Arabic data in my json and i want to make changes in it through some editor and saving it through php then all my data is getting converted into ???? .i tried using all the encoding standards but i did not get the result .
Asked
Active
Viewed 53 times
-1
-
1Can you post the code ? – Shankar Narayana Damodaran Feb 21 '14 at 08:29
-
maybe similar to this question. http://stackoverflow.com/questions/6859018/save-data-in-arabic-in-mysql-database – Faiz Shukri Feb 21 '14 at 08:33
-
Are you using the correct character encoding in your html? – Donnie Rock Feb 21 '14 at 08:36
1 Answers
0
Ensure that you're using the right content-type with the right character encoding, eg: Content-type: text/html; charset=utf-8
. Ensure you're checking the encoding type of the data coming in, and ensure you're using the correct encoding type type in your connection to the DB, and that the table itself is using the correct encoding type.

Michael Leaney
- 753
- 4
- 10