The wcout output cannot display Chinese characters. Just Add the following sentence.
STD: wcout. imbue (STD: locale ("CHS "));
Primary language |
Sublanguage |
Language string |
Chinese |
Chinese |
"Chinese" |
Chinese |
Chinese (simplified) |
"Chinese-simplified" or "CHS" |
Chinese |
Chinese (traditional) |
"Chinese-traditional" or "CHT" |
Czech |
Czech |
"CSY" or "Czech" |
Danish |
Danish |
"Dan" or "Danish" |
Dutch |
Dutch (default) |
"Dutch" or "NLD" |
Dutch |
Dutch (Belgium) |
"Belgian", "Dutch-Belgian", or "NLB" |
English |
English (default) |
"English" |
English |
English (Australia) |
"Australian", "ENA", or "English-Aus" |
English |
English (Canada) |
"Canadian", "ENC", or "English-can" |
English |
English (New Zealand) |
"English-NZ" or "enz" |
English |
English (United Kingdom) |
"Eng", "English-uk", or "UK" |
English |
English (United States) |
"American", "American English", "American-English", "English-American", "English-us", "English-USA", "enu ", "Us", or "USA" |
Finnish |
Finnish |
"Fin" or "Finnish" |
French |
French (default) |
"FRA" or "French" |
French |
French (Belgium) |
"FRB" or "French-Belgian" |
French |
French (Canada) |
"FRC" or "French-Canadian" |
French |
French (Switzerland) |
"French-Swiss" or "FR" |
German |
German (default) |
"DEU" or "German" |
German |
German (Austria) |
"Dea" or "German-Austrian" |
German |
German (Switzerland) |
"Des", "German-Swiss", or "Swiss" |
Greek |
Greek |
"Ell" or "Greek" |
Hungarian |
Hungarian |
"Hun" or "Hungarian" |
Icelandic |
Icelandic |
"Icelandic" or "isl" |
Italian |
Italian (default) |
"Ita" or "Italian" |
Italian |
Italian (Switzerland) |
"Italian-Swiss" or "its" |
Japan |
Japan |
"Japan" or "JPN" |
Korean |
Korean |
"Kor" or "Korean" |
Norwegian |
Norwegian (default) |
"Norwegian" |
Norwegian |
Norwegian (bokmal) |
"Nor" or "Norwegian-bokmal" |
Norwegian |
Norwegian (nynorsk) |
"Non" or "Norwegian-nynorsk" |
Polish |
Polish |
"PLK" or "polish" |
Portuguese |
Portuguese (default) |
"Portuguese" or "PTG" |
Portuguese |
Portuguese (Brazil) |
"Portuguese-policilian" or "PTB" |
Russian |
Russian (default) |
"Rus" or "Russian" |
Slovak |
Slovak |
"Sky" or "Slovak" |
Spanish |
Spanish (default) |
"Esp" or "Spanish" |
Spanish |
Spanish (Mexico) |
"ESM" or "Spanish-Mexican" |
Spanish |
Spanish (modern) |
"ESN" or "Spanish-modern" |
Swedish |
Swedish |
"SVE" or "Swedish" |
Turkish |
Turkish |
"TRK" or "Turkish" |
Http://www.cnblogs.com/fangyukuan/archive/2010/08/19/1804055.html
Http://fangyukuan.blog.163.com/blog/static/193336952010719114744326/