有类似问题,SQL前加set names gb2312;试试
或参考标签:
http://www.mysqlpub.com/tag.php?name=%C2%D2%C2%EB
kider 发表于 2008-11-18 20:09
rs.Open(CRecordset::forwardOnly,_T("set names gb2312;select * from book;"));
kider 发表于 2008-11-18 23:47
欢迎光临 MariaDB社区 (http://123.56.88.72/) | Powered by Discuz! X3.2 |