[odb-users] charset in odb

Cheng Wu sandisks555 at gmail.com
Thu Jun 6 00:43:41 EDT 2019

Yes,what you sad is right. I make wrong in this. Thanks.

On Mon, Jun 3, 2019 at 9:26 PM Boris Kolpackov <boris at codesynthesis.com>

> Cheng Wu <sandisks555 at gmail.com> writes:
> > Can I set charset to utf8 while using odb to generate cpp code?
> While I don't understand what exactly you want to achieve here, the
> values that you send in, say, INSERT statement are not hard-coded in
> the generated code. Rather, they are taken from, say, std::string
> data member in your class. And it is your responsibility to make
> sure that the encoding of such a string and the way your database
> is created and/or opened are compatible.

More information about the odb-users mailing list