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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. SDI for GB2312

SDI for GB2312

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
5 Posts 3 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.
  • A Offline
    A Offline
    aravind sn
    wrote on last edited by
    #1

    hi, Anyone know how to display the GB2312 formatted in an MFC application. I just have create an SDI to read the the text file formatted in GB2312. I tried it dosen't display the chineese kanji characters. please help me out.

    A C 2 Replies Last reply
    0
    • A aravind sn

      hi, Anyone know how to display the GB2312 formatted in an MFC application. I just have create an SDI to read the the text file formatted in GB2312. I tried it dosen't display the chineese kanji characters. please help me out.

      A Offline
      A Offline
      Adam Roderick J
      wrote on last edited by
      #2

      whether it is displaying any other language?

      Величие не Бога может быть недооценена.

      A 1 Reply Last reply
      0
      • A aravind sn

        hi, Anyone know how to display the GB2312 formatted in an MFC application. I just have create an SDI to read the the text file formatted in GB2312. I tried it dosen't display the chineese kanji characters. please help me out.

        C Offline
        C Offline
        Code o mat
        wrote on last edited by
        #3

        Just a guess here but maybe you need to use the right font with the right charset to display your texts.If you check out the LOGFONT[^] structure and look at the lfCharSet member it can have the value of GB2312_CHARSET. That looks promising, does it not? :)

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <

        A 1 Reply Last reply
        0
        • C Code o mat

          Just a guess here but maybe you need to use the right font with the right charset to display your texts.If you check out the LOGFONT[^] structure and look at the lfCharSet member it can have the value of GB2312_CHARSET. That looks promising, does it not? :)

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <

          A Offline
          A Offline
          aravind sn
          wrote on last edited by
          #4

          yes that looks helpful,, let me look in to the LOGFONT now. thanks anyways.

          1 Reply Last reply
          0
          • A Adam Roderick J

            whether it is displaying any other language?

            Величие не Бога может быть недооценена.

            A Offline
            A Offline
            aravind sn
            wrote on last edited by
            #5

            yes it does,, like if the same chracters are in unicode(utf-8) format

            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