Home Print unicode char
 I tried a very simple code in C++: #include #include int main() { std::wstring test = L"asdfa-"; test += u'ç'; std::wcout << test; }  But the result was: asdfa-?  It was not possible print 'ç', with cout or wcout, how can I can print this string correctally? OS: Linux. Ps: I use wstring instead of string, because sometimes I need calculate the length of the string, and this size must be the same of what is on the screen. Ps: I need concatenate the unicode char, it can't be on the string constructor.