MySQL Forums
Forum List  »  Quality Assurance

Re: Chinese characters treated as string-escape commands
Posted by: Diego Medina
Date: May 13, 2008 01:35PM

when you start the mysql connection from php, are you also setting it to utf8 ?

maybe this page could give you some info

http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html

and are you including on your php page headers the correct encoding?
As you said that including the query inside the php code does work.

Diego Medina
Web Developer
http://www.fmpwizard.com

P.S. Please read this post if you are going to post code

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Chinese characters treated as string-escape commands
2645
May 13, 2008 01:35PM


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.