摘要:
sudoapt-getinstallunicode 这个有用吗?然后使用iconv。使用一个库将string转化为utf-8?好像确实是很麻烦的,thrift也不支持unicode。还有wcsrtombs这个转换函数。std::stringis abasic_stringtemplated on achar, andstd::wstringon awchar_t.charvs.wchar_tcharis supposed to hold a character, usually a 1-byte character.wchar_tis supposed to hold a wide chara 阅读全文