Multi-language??
-
hai,,, is there any particular function by which i can directly use unicode in API.. for eg: StaticObjects.[lIndex] = "बीच की रेखा"; "बीच की रेखा" is language hindi.. but when i run the code, instead of hindi it shows "??????" in those places... how can i solve this...? while debugging it for the first time its showing warning----- "some unicode charecters in ths file could not be saved in the current code page. Do you want to resave this file as Unicode in order to maintain your data?" how to solve this
-
hai,,, is there any particular function by which i can directly use unicode in API.. for eg: StaticObjects.[lIndex] = "बीच की रेखा"; "बीच की रेखा" is language hindi.. but when i run the code, instead of hindi it shows "??????" in those places... how can i solve this...? while debugging it for the first time its showing warning----- "some unicode charecters in ths file could not be saved in the current code page. Do you want to resave this file as Unicode in order to maintain your data?" how to solve this
The .NET Framework is using Unicode. You need to check: 1) Is your source file actually saved as Unicode (if you can open the file again and the text is fine, it is saved in Unicode). If not, manually save the file with Unicode - Advanced Save Options on the File menu in VS2005) 2) Where are you outputting the text. The Console will NOT run Unicode by default (you can try to mess with the command "chcp").
-
The .NET Framework is using Unicode. You need to check: 1) Is your source file actually saved as Unicode (if you can open the file again and the text is fine, it is saved in Unicode). If not, manually save the file with Unicode - Advanced Save Options on the File menu in VS2005) 2) Where are you outputting the text. The Console will NOT run Unicode by default (you can try to mess with the command "chcp").
hai.. yes the files is saving as unicode only.... i am displaying this in an ordinary form, which is a child form to a main form. i tried in a single form on button click i am able to disply the value. but on formload i am not able to display it.? can u help me out in this... thanks in advance... Regards
-
hai.. yes the files is saving as unicode only.... i am displaying this in an ordinary form, which is a child form to a main form. i tried in a single form on button click i am able to disply the value. but on formload i am not able to display it.? can u help me out in this... thanks in advance... Regards
If you save the source as UTF-8, try UTF-16 instead. No, it should not matter, but you should not have the problem in the first place. Besides that I can't really offer any help as I do not even know HOW you are trying to display the text (caption of a dialog, messagebox, TextOut in draw command, label control, etc.