> Hi, > I have a question. I have read that since MySQL 4.1, VARCHAR type can hold > unicode characters. But, it seems that the API of the C library use to send > queries to the server still use 'const char*' for the type of the query. > So, praticaly, if I have a unicode string stored in C, how can I use it with > the C API? > Thanks.
I use unicode(UTF-8) strings as following. mysql_query( mysql, "SELECT.... inlude Japanese characters(KANJI) " ); I think that this might answer your question. ------------------------------------------------------------ Hirofumi Fujiwara (Tokyo JAPAN) enjoy JAVA and Puzzle World [EMAIL PROTECTED] http://www.pro.or.jp/~fuji/index-eng.html [EMAIL PROTECTED] Puzzle Japan http://www.puzzle.jp/ ------------------------------------------------------------ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]