When I use special characters in CCLabelTTF, it shows question marks (?).
CCLabelTTF* pLabel = CCLabelTTF::labelWithString(“Olá multidão!”, “Arial”, 24);
It doesn’t show ‘á’ and ‘ã’.
I found a way to show as I want: changing CCImage.cpp, in BitmapDC drawImage method the line
nLen = MultiByteToWideChar(CP_UTF8, 0, pszText, nLen, pwszBuffer, nBufLen);
nLen = MultiByteToWideChar(CP_ACP, 0, pszText, nLen, pwszBuffer, nBufLen);
but it is that the best solution?
Thanks in advance,
PS: Sorry my english, it is far away from perfection