mysql_query and UNICODE
Posted by: Pavel Sladky
Date: October 27, 2005 06:57AM

I have a question. I use C API and function mysql_query. I want to support UNICODE too. In which form I should pass commands into mysql_query function ? Should be complete string in UNICODE or only passed strings?

in header is mysql_query defined with param char * so it looks like strings should be in ACSII. But how to pass UNICODE strings there?

Should I use mysql_real_escape_string method? But it seems to me not working

Many thanks for any reply.

Edited 1 time(s). Last edit at 10/27/2005 07:57AM by Pavel Sladky.

Options: ReplyQuote

Written By
mysql_query and UNICODE
October 27, 2005 06:57AM
October 27, 2005 08:02AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.