From: Jonathan W. <my...@ka...> - 2011-05-06 10:11:26
|
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. |