PDA

View Full Version : query mysql tables using PHP for Persian Language



mohtasham1983
July 8th, 2007, 09:40 AM
Hi,
For the first time, I tried to do some work in Persian(farsi) which is pretty much like Arabic.

I added some texts in Persian to mysql using phpmyadmin and I set utf8_persian_ci as the collation for my char field. I can see everything normally on phpmyadmin, but when I query my table everything looks like "????"

Any idea how can I make it working?

mahan_h
October 4th, 2008, 04:41 PM
Hi,
-I have the same problem retrieving newly inserted data because while trying to insert some data in persian, just a bunch of ??? goes into my table

-It works fine in windows

-I'm Using J2EE, Ajax and MySQL

pp.
October 4th, 2008, 04:50 PM
I can see everything normally on phpmyadmin, but when I query my table everything looks like "????"

I can not help you with the database or character mapping problem. However, I can suggest that in order to support you, we ought to know which program you use to query your table, where that program runs and so on.