mysql_query/mysql_real_query containing unicode
My database is utf8_bin. I can't seem to find any results when using utf8 characters, even when hardcoding the entire query.
I'm using:
mysql_query( p_mysqlconn, "SET NAMES utf8" );
I've checked:
show variables like 'char%' and everything is set to utf8.
When I run the same query in PHP, C# or a GUI frontend then everything works fine.
Subject
Views
Written By
Posted
mysql_query/mysql_real_query containing unicode
3709
October 13, 2011 01:31PM
2948
October 15, 2011 02:27PM
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.