如何将Unicode字符串转换为utf-8或utf-16字符串? 我的VS2005项目使用Unicode字符集,而cpp中的sqlite提供了
int sqlite3_open(
const char *filename, /* Database filename (UTF-8) */
sqlite3 **ppDb /* OUT: SQLite db handle */
);
int sqlite3_open16(
const void *filename, /* Database filename (UTF-16) */
sqlite3 **ppDb /* OUT: SQLite db handle */
);
如何打开文件夹。
我该如何将字符串、CString或wstring转换为UTF-8或UTF-16字符集?
非常感谢!