Why can't input Arabic?
-
I am developing a multilingual software. In my software I can changed language to Arabic. So I install a "Arabic" input method. When I tried to input Arabic in one of my CEdit control, the CEdit didn't accept Arabic. It seems OK, if I type Arabic here. Arabic: سيبسايبعهصقثعخرتؤمترهقفثتمبتخشهقثهعخ Is there any special property of CEdit that I need to set? Expect somebody could help me solve this problem.
Why you dont use of CRichEdit?
WhiteSky
-
I am developing a multilingual software. In my software I can changed language to Arabic. So I install a "Arabic" input method. When I tried to input Arabic in one of my CEdit control, the CEdit didn't accept Arabic. It seems OK, if I type Arabic here. Arabic: سيبسايبعهصقثعخرتؤمترهقفثتمبتخشهقثهعخ Is there any special property of CEdit that I need to set? Expect somebody could help me solve this problem.
create a font using arabic character set and set the font to the edit box. then u can display the arabic font in editbox.
Regards, Ram
-
I am developing a multilingual software. In my software I can changed language to Arabic. So I install a "Arabic" input method. When I tried to input Arabic in one of my CEdit control, the CEdit didn't accept Arabic. It seems OK, if I type Arabic here. Arabic: سيبسايبعهصقثعخرتؤمترهقفثتمبتخشهقثهعخ Is there any special property of CEdit that I need to set? Expect somebody could help me solve this problem.
Please check whether you have enabled this option control panel->Regional and Language Settings-> Language Tab-> Tick the check box "Install files for East Asian languages"
nave [OpenedFileFinder]
-
create a font using arabic character set and set the font to the edit box. then u can display the arabic font in editbox.
Regards, Ram
I think we have a little problem if he creates a font for editbox it will be work but if he runs his program on the a computer that has arabic language for OS so I think he will be problem.
WhiteSky
-
I am developing a multilingual software. In my software I can changed language to Arabic. So I install a "Arabic" input method. When I tried to input Arabic in one of my CEdit control, the CEdit didn't accept Arabic. It seems OK, if I type Arabic here. Arabic: سيبسايبعهصقثعخرتؤمترهقفثتمبتخشهقثهعخ Is there any special property of CEdit that I need to set? Expect somebody could help me solve this problem.
1. Have you enabled this language on your computer at first place? (Internet explorer/FF has it inbuilt) 2. If 1 is done, then is your application Unicode? 3. If 2 is true, then what do you mean by your CEdit control did not accept Arabic?
Anything I will say you will bring it down to whatever you want. - Le Centriste
-
1. Have you enabled this language on your computer at first place? (Internet explorer/FF has it inbuilt) 2. If 1 is done, then is your application Unicode? 3. If 2 is true, then what do you mean by your CEdit control did not accept Arabic?
Anything I will say you will bring it down to whatever you want. - Le Centriste
1.What do you mean "enabled this language"? I have add "Arabic language" & "Arabic input method" in "Console Panel->Regional Options". Is it OK? 2.How to see whether my application is unicode?
-
1.What do you mean "enabled this language"? I have add "Arabic language" & "Arabic input method" in "Console Panel->Regional Options". Is it OK? 2.How to see whether my application is unicode?
Peter, Chan wrote:
have add "Arabic language" & "Arabic input method" in "Console Panel->Regional Options". Is it OK?
That's it. Now, are you able to type in Arabic language in notepad?
Peter, Chan wrote:
2.How to see whether my application is unicode?
I am asking if you've done an ANSI build or an Unicode build of your application. What happens when you type Arabic in the application that you built? Do you see question marks to appear instead of Arabic?
Nobody can give you wiser advice than yourself. - Cicero
-
Peter, Chan wrote:
have add "Arabic language" & "Arabic input method" in "Console Panel->Regional Options". Is it OK?
That's it. Now, are you able to type in Arabic language in notepad?
Peter, Chan wrote:
2.How to see whether my application is unicode?
I am asking if you've done an ANSI build or an Unicode build of your application. What happens when you type Arabic in the application that you built? Do you see question marks to appear instead of Arabic?
Nobody can give you wiser advice than yourself. - Cicero
I can type Arabic in notepad. But I can't type it in my application. When type Arabic, it displays nothing.
-
I can type Arabic in notepad. But I can't type it in my application. When type Arabic, it displays nothing.
Again, does your application understand Unicode? Have you got _MBCS or _UNICODE defined in the preprocessor definition? See here if you don't understand what I am asking you about.
Nobody can give you wiser advice than yourself. - Cicero
-
Again, does your application understand Unicode? Have you got _MBCS or _UNICODE defined in the preprocessor definition? See here if you don't understand what I am asking you about.
Nobody can give you wiser advice than yourself. - Cicero
Now it really works. I can input Arabic in CEdit. But it seems that VC6.0 doesn't support unicode input while coding. I can't input Arabic directly in the code. Visual Studio.net will support unicode well.