Re: unicode and C API

2005-05-24 Thread Warren Young
Patrice Serrand wrote: mysql_query (mysql, "INSERT INTO db_unicode.unicode_tbl VALUES (6, _utf8 'atüpedâ' COLLATE utf8_general_ci)"); I'm no Unicode expert, but I've never seen that _utf8 bit before. What is it? Or more accurately, what do you expect it to do? I ask because that stri

unicode and C API

2005-05-24 Thread Patrice Serrand
Hello, I have an InnoDB table running on MySQL 4.1.11 The MySQL server configuration use : default-character-set=utf8 I have a table unicode_tbl with 'default charset set utf8' and a field szWord varchar(50) character set utf8 collate utf8_general_ci. if I use the C API like this : mysql_