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. How can I display Japanese characters in an application ?

How can I display Japanese characters in an application ?

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncsharpvisual-studiocom
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.
  • S Offline
    S Offline
    Swap9
    wrote on last edited by
    #1

    I have a VC++/MFC application.This was in ancient code, visual studio 6. While compiling it in VS2010 it gave tons of errors and required changes in settings. I got good guidance from http://www.codeproject.com/Members/Jochen-Arndt. Now my project is compiling/linking and .exe file is also launching. While the application is running since output is in Japanese so in English OS it shows all junk characters. Now i take the whole code base to Japanese windows OS, compile the code and run the application there, Why do I still see the junk characters on application dialogue boxes/captions/ Labels ? Any area you can hint I can look into display caption/labels/dialogue box in Japanese ? Please help.

    L 1 Reply Last reply
    0
    • S Swap9

      I have a VC++/MFC application.This was in ancient code, visual studio 6. While compiling it in VS2010 it gave tons of errors and required changes in settings. I got good guidance from http://www.codeproject.com/Members/Jochen-Arndt. Now my project is compiling/linking and .exe file is also launching. While the application is running since output is in Japanese so in English OS it shows all junk characters. Now i take the whole code base to Japanese windows OS, compile the code and run the application there, Why do I still see the junk characters on application dialogue boxes/captions/ Labels ? Any area you can hint I can look into display caption/labels/dialogue box in Japanese ? Please help.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The obvious question: have you selected Japanese font into the application's resources?

      S 1 Reply Last reply
      0
      • L Lost User

        The obvious question: have you selected Japanese font into the application's resources?

        S Offline
        S Offline
        Swap9
        wrote on last edited by
        #3

        Obvious answer...that's why its showing Junk characters in the english OS. :)

        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