PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I just wanted to insert Russian data in my database(MySql) but while I insert it it get inserted easily, since I believe the data is inserted in the default format i.e. UTF-8 Unicode (utf8) i believe this is the default format but when i select it from database i could not get what was desired what is the solution for this, I am using Php as server side language..
I get ?????? as a result of select and while i look it in phpadmin the result is the same, is this the browser problem...which is not supporting the font.
or else I have to insert data in some specific uniccode..
to get that working you have to make sure that all the links in the chain user->php->database->php->user are working in the same encoding (or perform proper conversion(s)). The behavior you observe is an indication that some link(s) do not handle encoding as intended. Usually it php<->database part. Make sure you send the SET NAMES utf8 command to your db before performing any other queries.