Foreign language characters in my mysql Data Base?

Foreign language characters in my mysql Data Base?


Is the connection to the database also UTF-8 encoded?

Give this a try: right after connecting to the mysql database, run the following query.

SET NAMES utf8;

Great! It worked wonderfully! I added $conn->query('SET NAMES utf8'); Thanks again!

mysql_query("SET NAMES utf8");
[Google Ads]

POPULAR POSTS ::