mysql_query/mysql_real_query containing unicode
Posted by: Eidetic Hans
Date: October 13, 2011 01:31PM

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.

Options: ReplyQuote

Written By
mysql_query/mysql_real_query containing unicode
October 13, 2011 01:31PM

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.