Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Why can't input Arabic?

Why can't input Arabic?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Peter Chan 0

    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.

    H Offline
    H Offline
    Hamid Taebi
    wrote on last edited by
    #2

    Why you dont use of CRichEdit?


    WhiteSky


    1 Reply Last reply
    0
    • P Peter Chan 0

      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.

      R Offline
      R Offline
      Ram Murali
      wrote on last edited by
      #3

      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

      H 1 Reply Last reply
      0
      • P Peter Chan 0

        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.

        N Offline
        N Offline
        Naveen
        wrote on last edited by
        #4

        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]

        1 Reply Last reply
        0
        • R Ram Murali

          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

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #5

          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


          1 Reply Last reply
          0
          • P Peter Chan 0

            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.

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #6

            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

            P 1 Reply Last reply
            0
            • R Rajesh R Subramanian

              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

              P Offline
              P Offline
              Peter Chan 0
              wrote on last edited by
              #7

              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?

              R 1 Reply Last reply
              0
              • P Peter Chan 0

                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?

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #8

                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

                P 1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  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

                  P Offline
                  P Offline
                  Peter Chan 0
                  wrote on last edited by
                  #9

                  I can type Arabic in notepad. But I can't type it in my application. When type Arabic, it displays nothing.

                  R 1 Reply Last reply
                  0
                  • P Peter Chan 0

                    I can type Arabic in notepad. But I can't type it in my application. When type Arabic, it displays nothing.

                    R Offline
                    R Offline
                    Rajesh R Subramanian
                    wrote on last edited by
                    #10

                    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

                    P 1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      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

                      P Offline
                      P Offline
                      Peter Chan 0
                      wrote on last edited by
                      #11

                      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.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups