MySQL Forums
Forum List  »  PHP

[SOLVED] Re: Can't get accent insensitive in utf8_general_ci
Posted by: Bruno Dassas
Date: July 11, 2007 09:06AM

OK ok, i get it, it seems my data where in an incorrect format in the database.

I added the magical :

mysql_query("SET NAMES 'utf8'");

just after opening the connection and now it is working as intended (only have to convert all my previous data).

I had tried this before, but the example I had was incorrectly spelled with 'utf-8' instead of 'utf8' so I thought this wasn't working.

Options: ReplyQuote


Subject
Written By
Posted
[SOLVED] Re: Can't get accent insensitive in utf8_general_ci
July 11, 2007 09:06AM


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.