Hi all, I have an application that works fine with MySQL 3.23 and the C API (everything on Linux and only on Linux). I need now to support unicode (I mean chinese, japanese, russian... all kind of characters) so I am converting the application to use wchar_t and wstring instead of char and string.
I've installed MySQL 4.1.1 which support unicode (I don't have any problem with it yet). The problem is that it seems that the C API doesn't support unicode. I couldn't find any trace of wchar_t or wstring in the include files. What should I do ? For now I have problem compiling something like this mysql_query (&_connection, _query) with _query = (wchar_t *) malloc(QUERY_LEN * sizeof(wchar_t *)); What it the solution ? using wcstombs ? Won't it loose anything ? Steel ********** PROTEGEZ VOS E-MAILS !********** Avec Tiscali SuperMail, vos e-mails en toute sécurité ! Anti Spam personnalisable Anti Virus actualisé en permanence et de nombreux bonus... Pour en savoir plus, rendez-vous sur http://www.tiscali.fr/supermail/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]