c++的wstring,基于的wchar_t 在linux上是4字节的

sizeof wchar_t. Unlike Windows UTF-16 2-byte wide chars, wchar_t on Linux and OS X is 4 bytes UTF-32 (gcc/g++ and XCode).

 

 

ucs2是unicode的子集,编码上。

 

posted on 2018-12-07 16:48  不忘初衷,方能致远  阅读(556)  评论(0)    收藏  举报

导航