[odb-users] charset in odb

Cheng Wu sandisks555 at gmail.com
Thu May 30 22:25:30 EDT 2019


I write to this mail group at first time。
now I useins odb to connection MySQL.While I want to run this script
'insert into table_name values('汉语1',''汉语2')',my MySQL get error charset.I
solve it throung 'auto_ptr<database> db (new odb::mysql::database(argc, argv
,false,"utf8"));'

Can I set charset to utf8 while using odb to generate cpp code?


More information about the odb-users mailing list