CWYAlpha

Just another WordPress.com site

Thought this was cool: std::wstring_convert处理UTF8

leave a comment »


     摘要: 扔掉MultiByteToWideChar 吧,使用std::wstring_convert和 std::codecvt_utf8 来处理UTF8与WChar之间的互转。

VC和Clang都支持哦~  阅读全文

力为 2012-09-11 17:59 发表评论


from C++博客_Kevin Lynx: http://www.cppblog.com/mythma/archive/2012/09/11/wstring_convert_utf8.html

Written by cwyalpha

九月 14, 2012 在 8:58 上午

发表在 Uncategorized

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: