I tried a very simple code in C++:
std::wstring test = L"asdfa-";
test += u'ç';
std::wcout << test;
But the result was:
It was not possible print 'ç', with cout or wcout, how can I can print this string correctally?
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.