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. editing unicode char ?

editing unicode char ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 2 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.
  • M Offline
    M Offline
    Manikandan
    wrote on last edited by
    #1

    Anybody know how to type unicode characters like arabic, chinese, korean etc directly into an edit box. I am using windows XP with unicode languages support. I want to paste the unicode text i copied from character map to an edit conrol. But the edit control show junk. :rolleyes:

    R 1 Reply Last reply
    0
    • M Manikandan

      Anybody know how to type unicode characters like arabic, chinese, korean etc directly into an edit box. I am using windows XP with unicode languages support. I want to paste the unicode text i copied from character map to an edit conrol. But the edit control show junk. :rolleyes:

      R Offline
      R Offline
      RChin
      wrote on last edited by
      #2

      You should be able to enable your OS IME (Input Method Editor) from the regional settings in the control panel. This allows you to input foreign characters by providing the appropriate input interface for the given language.


      I Dream of Absolute Zero

      M 1 Reply Last reply
      0
      • R RChin

        You should be able to enable your OS IME (Input Method Editor) from the regional settings in the control panel. This allows you to input foreign characters by providing the appropriate input interface for the given language.


        I Dream of Absolute Zero

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

        yes... i have done it already... but if i copy/paste those arabic or chinese text to a windows standard edit control it only shows junks ("?_?") not the real text... :mad:

        R 1 Reply Last reply
        0
        • M Manikandan

          yes... i have done it already... but if i copy/paste those arabic or chinese text to a windows standard edit control it only shows junks ("?_?") not the real text... :mad:

          R Offline
          R Offline
          RChin
          wrote on last edited by
          #4

          Manikandan wrote: only shows junks ("?_?") not the real text... Ok. Then I think the problem is making sure you are using a font that can correctly display the appropriate unicode characters. For example: Courier will not show asian character types (you will just see either a bunch of square blocks, or question marks). However if you display the same using Tahoma, and you have the language packs installed, it should show up correctly. Not all fonts cater for unicode characters, you may have to experiment to see which ones do.


          I Dream of Absolute Zero

          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