c++ - Cross-platform mySQL inconsistencies with character sets -
i have script creates database, couple of tables in , populates data. script made sqlite database on windows. 1 of tables in script named "abcĂ" ("abc+alt225"). next tried load script mysql thru mysql workbench. both server , workbench running on linux. after fixing syntax inconsistencies database created. tried query database , tables. tables queried successfully, 1 above. trying query "information_table.tables.table_name", name "abc\0d-61\0d63" gives different result original name. because of program crashing when run because sent table name codecvt_utf-8 encoder. the database , tables created default encoding. does know why i'm not seeing proper results? but importantly - presume program crashing because of characters outside of wchar_t/utf-8 encoding. i'm curious - should use convert sequence std::wstring? tia! edit: the code follows: class mysqldatabase { public: int loaddatabasedata(); protected: s...