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. input multi language in C for window

input multi language in C for window

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
3 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.
  • N Offline
    N Offline
    Nguyen Sy Bang
    wrote on last edited by
    #1

    hi all guy! I have a textbox. I want to input multi language to this textbox. In Control panel, i select location:japan. In VC++6, i select UNICODE, However Textbox cannot display corect(Ex:input tamin language). Please help me!

    A 1 Reply Last reply
    0
    • N Nguyen Sy Bang

      hi all guy! I have a textbox. I want to input multi language to this textbox. In Control panel, i select location:japan. In VC++6, i select UNICODE, However Textbox cannot display corect(Ex:input tamin language). Please help me!

      A Offline
      A Offline
      Andrew Brock
      wrote on last edited by
      #2

      It is most likely 1 of 2 things wrong. You don't have the correct language packs installed on your system, so the character is unprintable, or it is not supported by the selected font. If the character works elsewhere on your computer, like in Wordpad or web pages (excluding wikipedia because it often uses images) then this is not your problem. The character can't fit into Unicode. Unicode only defines space for 65535 characters. Some characters are out of this range, character sets like UTF-x can go up to a bit over 1.1 million characters (limited by a standard in the case of UTF-8, not the limits of the encoding). Visual studio provides a Multi-byte option, which I have not used which may be able to help your problem, however the Windows core is coded in Unicode. Other than this, make sure you have the correct character in the string to begin with.

      N 1 Reply Last reply
      0
      • A Andrew Brock

        It is most likely 1 of 2 things wrong. You don't have the correct language packs installed on your system, so the character is unprintable, or it is not supported by the selected font. If the character works elsewhere on your computer, like in Wordpad or web pages (excluding wikipedia because it often uses images) then this is not your problem. The character can't fit into Unicode. Unicode only defines space for 65535 characters. Some characters are out of this range, character sets like UTF-x can go up to a bit over 1.1 million characters (limited by a standard in the case of UTF-8, not the limits of the encoding). Visual studio provides a Multi-byte option, which I have not used which may be able to help your problem, however the Windows core is coded in Unicode. Other than this, make sure you have the correct character in the string to begin with.

        N Offline
        N Offline
        Nguyen Sy Bang
        wrote on last edited by
        #3

        Hi, In microsoft word, u can input multi language? I buid small application in C for Win(VC++6), when I set location as EN. I can input multi language. Textbox is displayed corect with language input. When I set location as Japan, Textbox cann't display corect(Ex:Tamin Language):confused:

        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