From: Warren Young Date: May 15 2009 7:51pm Subject: Re: Question reg. connection character set List-Archive: http://lists.mysql.com/plusplus/8574 Message-Id: <4A0DC7B5.7030808@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael wrote: > > short question: I didn't find anything in the manual about configuring > the connection character set. There are indeed no features in MySQL++ to affect this. It's entirely up to the DB server. You can affect it from the client side through queries, but other than that, you have to configure the server itself. > When doing it through queries, > will this affect mysqlpp::quote in any ill way? The hard work of quoting in MySQL++ is done by the C API, which should ask the DB server how to do this correctly for the current character set. The only time it's expected not to is that there is one code path where you can make it quote a string without having a connection established, in which case we use a different quoting mechanism which has no reference to the DB server's configuration.