MySQL Forums
Forum List  »  PHP

Re: Inserting Japanese/Chinese characters into MySQL db
Posted by: _marabout
Date: January 25, 2006 02:54AM

I don't know if this will help you guys, but I know a case where retrieving utf8 data from a database to php would result in inconsistent display (question marks). This problem was solved using this line :

mysql_query("SET CHARACTER SET 'utf8'");

before any query on the table.

Does this help ?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.