str = "asd€aaa";
$str = str_replace("€","",$str);
Not replacing the € sign for some reason.
I have mb_internal_encoding("UTF-8"); set up at the top of the file (which is saved in UTF-8).
The string originates from a MySQL db, so I also have these set:
mysql_set_charset('utf8',$conn);
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_unicode_ci'");
Am I missing something?
Thanks,