How to read Japanese from String Table?
-
What type is szTemp?
TCHAR szTemp[256] = {0};
-
Do you want to use of multilangues on your program?
yes, it can be a mutilingual program. means String Table is going to contain japanese, Chines etc. that i have to load and print in message box.
-
Does your program compile without a hiccup, but it displays question marks in place of Unicode characters? In that case, you just need to install the appropriate language in your computer. Go to Control panel -> Regional and language options -> "Check" Install files for East Asian languages. Restart your machine. That should be it. :)
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
That i have done. I have done the setting in control panel. String Table is going to contain japanese, Chines etc. that i have to load and print in message box.
-
yes, it can be a mutilingual program. means String Table is going to contain japanese, Chines etc. that i have to load and print in message box.
-
That i have done. I have done the setting in control panel. String Table is going to contain japanese, Chines etc. that i have to load and print in message box.
Cool. Is your string table ready? Is your app compiling without errors after adding Japanese text entries into the string table?
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
yes, it can be a mutilingual program. means String Table is going to contain japanese, Chines etc. that i have to load and print in message box.
If you want to display the text in a MessageBox you have to use MessageBoxEx where you can (and have to) specify the language ID.
-
Cool. Is your string table ready? Is your app compiling without errors after adding Japanese text entries into the string table?
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
yes, program is compiling. But string which is stored in japanese is coming like ??? ????
-
yes, program is compiling. But string which is stored in japanese is coming like ??? ????
You should answer all the questions that I asked. 1. Have you added the Unicode text to string table and have you verified that the program is actually reading it? 2. Are you type or paste Japanese text (Unicode) into notepad? 3. If yes, are you able to paste this text into your application?
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
You should answer all the questions that I asked. 1. Have you added the Unicode text to string table and have you verified that the program is actually reading it? 2. Are you type or paste Japanese text (Unicode) into notepad? 3. If yes, are you able to paste this text into your application?
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
1. Yes my programe is reading the unicode string. 2. I have copyed and pasted the japanese string into string table. I can see it in string table but in .rc file it is giving ? ? ????????? like this. can you tell me the encoding format of .rc file?
-
1. Yes my programe is reading the unicode string. 2. I have copyed and pasted the japanese string into string table. I can see it in string table but in .rc file it is giving ? ? ????????? like this. can you tell me the encoding format of .rc file?
sumit.durg wrote:
an you tell me the encoding format of .rc file?
The encoding should be Shift-JIS, CP932.