On 05.12.2012 15:04, Michael Evdokimov wrote:
> Hello!
>
> Please consider applying this patch.
> The main reason is that we must call
> mysql_options(MYSQL_SET_CHARSET_NAME) right before calling
> mysql_real_connect().
>
> It allows the following:
>
> soci::session db( soci::mysql, "user=billing password=billing
> dbname=billing charset=utf8" );
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
>
>
>
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
Hi Michael,

in my projects i am currently executing these two statements right after 
connect:

sql << "SET character_set_client=utf8";
sql << "SET character_set_results=utf8";

Fix this your problem too?

Mit freundlichen Grüßen,
B.Sc. Daniel Walter

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to