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. Help for Arabic/Urdu Development in Visual C++

Help for Arabic/Urdu Development in Visual C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiohelpquestion
5 Posts 4 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.
  • S Offline
    S Offline
    signbit
    wrote on last edited by
    #1

    Dear All I have tried to enter Arabic/Urdu strings in a Visual C++ project, in the VS IDE they look just find, but when I compile and run the application they just show up as ? marks like ????. Any Ideas? - A programmer's national anthem; "AAAAAHHHHH!!!!"

    R M 2 Replies Last reply
    0
    • S signbit

      Dear All I have tried to enter Arabic/Urdu strings in a Visual C++ project, in the VS IDE they look just find, but when I compile and run the application they just show up as ? marks like ????. Any Ideas? - A programmer's national anthem; "AAAAAHHHHH!!!!"

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

      You need to build your application Unicode aware for displaying such characters you told. Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

      1 Reply Last reply
      0
      • S signbit

        Dear All I have tried to enter Arabic/Urdu strings in a Visual C++ project, in the VS IDE they look just find, but when I compile and run the application they just show up as ? marks like ????. Any Ideas? - A programmer's national anthem; "AAAAAHHHHH!!!!"

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        Try for UNICODE compatible functins in your project. make use of _T() like functions rather that normal ASCII Functions. -Malli...!

        S 1 Reply Last reply
        0
        • M Malli_S

          Try for UNICODE compatible functins in your project. make use of _T() like functions rather that normal ASCII Functions. -Malli...!

          S Offline
          S Offline
          signbit
          wrote on last edited by
          #4

          In the project settings, I have specified "Unicode Character Set". and I only entered a menu option in Urdu, it was displaying it alright inside the IDE, but when I ran it, they were showing as ????. Do I need to used _T() for Menu Resource, if yes, where do I do that? - A programmer's national anthem; "AAAAAHHHHH!!!!"

          G 1 Reply Last reply
          0
          • S signbit

            In the project settings, I have specified "Unicode Character Set". and I only entered a menu option in Urdu, it was displaying it alright inside the IDE, but when I ran it, they were showing as ????. Do I need to used _T() for Menu Resource, if yes, where do I do that? - A programmer's national anthem; "AAAAAHHHHH!!!!"

            G Offline
            G Offline
            Giannakakis Kostas
            wrote on last edited by
            #5

            See the following link and unires sample. Basically you need to save the file in Unicode and comment out the #pragma codepage directive. You will not be able to edit the file with Visual Studio's resource editor. You need to edit it with a Unicode enabled source editor.

            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