摘要:
看到别人的文章,特地查找了下这个类,这应该是C++11提供的新功能,可以直接std::wstring_convert和std::codecvt_utf8来处理UTF8与WChar之间的互转。VS2008应该不支持,VS2010由于没环境测试不清楚。ExampleThe following example demonstrates the difference between UCS2/UTF-8 and UTF-16/UTF-8 conversions: the third character in the string is not a valid UCS2 character.#inclu 阅读全文
posted @ 2012-09-12 12:40
wjh2005
阅读(1955)
评论(1)
推荐(0)
浙公网安备 33010602011771号