Re: Sending UTF-8 data from form to mysql

From: Date: Mon, 24 Mar 2003 19:42:07 +0000
Subject: Re: Sending UTF-8 data from form to mysql
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-508@lists.php.net to get a copy of this message
The current stable version of MySQL doesn't provide a support for UTF-8 encoding. It is announced in the page pointed below that the feature will be in 4.1.0. http://www.mysql.com/doc/en/News-4.1.0.html And for your interest, PostgreSQL already has a support for UTF-8. Moriyoshi "Nino Katic" <admin@platan.hr> wrote: > 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 > > > -- > PHP Internationalization Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.i18n (#508) next »