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. Different language

Different language

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
4 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
    Suneet 03
    wrote on last edited by
    #1

    How can I Input different language text from a Dialog based application. Showing "?????" as input characters. Do building it with UNICODE prepproessor solve this problem? Also, getting weird characters if I am reading from a file. Using _wfopen which is the function to open a unicode file and reading the contents using fread function. The file has some other language characters.

    D S H 3 Replies Last reply
    0
    • S Suneet 03

      How can I Input different language text from a Dialog based application. Showing "?????" as input characters. Do building it with UNICODE prepproessor solve this problem? Also, getting weird characters if I am reading from a file. Using _wfopen which is the function to open a unicode file and reading the contents using fread function. The file has some other language characters.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Suneet.03 wrote:

      How can I Input different language text from a Dialog based application.

      Has that character set been installed on the target machine?


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      1 Reply Last reply
      0
      • S Suneet 03

        How can I Input different language text from a Dialog based application. Showing "?????" as input characters. Do building it with UNICODE prepproessor solve this problem? Also, getting weird characters if I am reading from a file. Using _wfopen which is the function to open a unicode file and reading the contents using fread function. The file has some other language characters.

        S Offline
        S Offline
        Sameerkumar Namdeo
        wrote on last edited by
        #3

        Set the language in Control Panel -> Regional and language option -> Advanced. Also in Language Tab specify Text services and language in order to have a particular language keyboard. also #define UNICODE and _UNICODE Save file in Unicode format.

        1 Reply Last reply
        0
        • S Suneet 03

          How can I Input different language text from a Dialog based application. Showing "?????" as input characters. Do building it with UNICODE prepproessor solve this problem? Also, getting weird characters if I am reading from a file. Using _wfopen which is the function to open a unicode file and reading the contents using fread function. The file has some other language characters.

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

          See http://www.codeproject.com/cpp/multilingual.asp[^] does any help?


          WhiteSky


          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