Quote Originally Posted by yangyunzhao View Post
Yes,if use std::wstring,it works ok.

But in my program ,I use a third party API. The third party API request a std::string or char* parameter.
if you want char* then forget about unicode... you cant pass a chinese character.in char*. Dont waste your time... tell your boss that char* is 7bit ascii.. (-127to 127).. so either change the third party library or live with english only.