MySQL Forums
Forum List  »  Connector/C++

Re: How can I use unicode using connector/C++?
Posted by: Lev Muchnik
Date: July 24, 2009 11:41AM

I'm facing similar problem. Have utf-8 strings stored in regular std::strings. They do match the prototype of PreparedStatement::setString. Yet, SQLException exception is issued with "Incorrect string value: ....", error code 1366 and sql state HY000. Can it be resolved by setting connection options or any other way?

Thanks,

Lev

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How can I use unicode using connector/C++?
3268
July 24, 2009 11:41AM


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.