[odb-users] how to persist utf8 string to database?

杨江骅 spiritonly at gmail.com
Fri Aug 26 03:39:55 EDT 2011


Hi:
      I have a mysql with utf-8 charset, and when i persist an object i have
convert my string to std::string with utf8 encoding. But the string in
database are illegible characters.
So i think odb has do something during serialization.

----------------------------------------------------------------------
gtalk:    spiritonly at gmail.com
msn:     spiritonly at live.cn
blog:     http://blog.csdn.net/spirit_only


More information about the odb-users mailing list