Question : database and table is utf8 and utf_general_ci. But unicode insertion not working

Hi all,

I have a database which is created with utf8 character type and utf_general_ci as the collation.

then i created a table
create table table1 character set utf8 collate utf_general_ci

insert into table1 values('æºAí');

but when I do a select query , it gives the i find that the field is empty.

any clue  why mysql database doesnt inser the unicode correctly

thanks
sijith

Answer : database and table is utf8 and utf_general_ci. But unicode insertion not working

It looks like something somewhere is not set to the UTF-8 character encoding. Please look at the User Comments on this page:
http://dev.mysql.com/doc/refman/4.1/en/charset-connection.html
It has lots of settings that have to be changed to UTF-8.
Random Solutions  
 
programming4us programming4us