C + + encoding
Http://club.topsage.com/thread-2227977-1-1.html
Localization policy set (locale)
Wide characters: Unicode, using a fixed byte for each character.
Multibyte: Utf-8, GBK, each character in a font set occupies a different number of bytes.
Unicode, UTF-8,GBK transition relationship:
Unicode–> Utf-8, unicode–> gbk, utf-8 <–> Unicode <–> GK
C + + multibyte characters and wide-byte characters convert to each other
Recently in C + + programming often encountered the need to convert multibyte characters and wide-byte characters to each other, wrote a class to encapsulate the conversion between wchar_t and char type
Http://www.jb51.net/article/32107.htm
Http://club.topsage.com/thread-2227977-1-1.html
http://blog.csdn.net/stawn/article/details/10492111
Output of C + + output Chinese characters c + + multibyte character and wide character
C + + character encoding