06.05.2011 14:11, Jonathan Wakely пишет:
> On 6 May 2011 10:57, Artem Kozarezov wrote:
>> I can see with
>> mysqlcppapi::Connection conn;
>> ...
>> conn.get_options().charset_name;
>> that client charset is "latin1", but how can I change it?
>>
>> Is there a way to invoke the
>> http://dev.mysql.com/doc/refman/5.5/en/mysql-set-character-set.html
>> using the mysqlcppapi Connection?
> No, I don't think there is any way.
>
> mysqlcppapi is a dead project, you should be using mysql++ instead.
>
> mysql++ provides an API for setting the charset, with the
> SetCharsetNameOption class.
Thanks, I'll try to use http://forge.mysql.com/wiki/Connector_C%2B%2B first.
|