Sending UTF-8 data from form to mysql

From: Date: Mon, 24 Mar 2003 19:16:36 +0000
Subject: Sending UTF-8 data from form to mysql
Groups: php.i18n 
Request: Send a blank email to php-i18n+get-507@lists.php.net to get a copy of this message
Hi I'm using UTF-8 to store data in mysql and to display it using php but i noticed one problem. I'm getting wrong comparison of data in mysql db fields and data i send from form. For example this query: select * from table where username=$_POST['username'] returns wrong result if i use croatian specific characters in form - $_POST['username'] (in some cases). How to make this work? Nino

« previous php.i18n (#507) next »