I don‘t know its a valid question or not.
I am working on one project where I want to Load a Japanese string from a string Table.
But I am unable to do that.
When I am Loading String Resource in CString
it Load Japanese Char as ???????????
.
I am using following code to Load String.
CString msg;
msg.LoadString(JAPANESE_STRING_RESOURCE_ID)
and in String Table I have added string as
JAPANESE_STRING_RESOURCE_ID 128 "ありがとう ございます。"
I am not able to trace for the same.
Can any one help me out on this?
In most cases, using Unicode on project helps with this kind of troubles. If you definitely need to use Multibyte in your project, you still can use Unicode CSrting-s - it's CStringW. This can help:
CStringW msg;
msg.LoadString(JAPANESE_STRING_RESOURCE_ID)