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. copy chinese to edit control caption will happen garbled text how to solve it

copy chinese to edit control caption will happen garbled text how to solve it

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
14 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.
  • J Offline
    J Offline
    jeansea
    wrote on last edited by
    #1

    hi guys i try copy some chinese word "你好" from a .txt file as edit control's caption but i fail.it show some garbled text how to solve this problem could help me thank you; :)

    R 1 Reply Last reply
    0
    • J jeansea

      hi guys i try copy some chinese word "你好" from a .txt file as edit control's caption but i fail.it show some garbled text how to solve this problem could help me thank you; :)

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Hi, What do you mean by it fails? The garbled text is in Chinese or not? If not Chinese, do you see question marks instead? Is your application fully Unicode?

      It is a crappy thing, but it's life -^ Carlo Pallini

      CPalliniC J 3 Replies Last reply
      0
      • R Rajesh R Subramanian

        Hi, What do you mean by it fails? The garbled text is in Chinese or not? If not Chinese, do you see question marks instead? Is your application fully Unicode?

        It is a crappy thing, but it's life -^ Carlo Pallini

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        Rajesh R Subramanian wrote:

        Hi, What do you mean by it fails? The garbled text is in Chinese or not?

        We have nothing, so far. We need facts, Watson, facts! --Sherlock Charles :-D

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        In testa che avete, signor di Ceprano?

        A 1 Reply Last reply
        0
        • CPalliniC CPallini

          Rajesh R Subramanian wrote:

          Hi, What do you mean by it fails? The garbled text is in Chinese or not?

          We have nothing, so far. We need facts, Watson, facts! --Sherlock Charles :-D

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          A Offline
          A Offline
          ali kanju
          wrote on last edited by
          #4

          open ur .rc file in notepad and save it as unicode...

          CPalliniC J 2 Replies Last reply
          0
          • A ali kanju

            open ur .rc file in notepad and save it as unicode...

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            ali kanju wrote:

            open ur .rc file in notepad and save it as unicode...

            Uh...What? I have no .rc file, but I don't care at all. On the other hand, I need facts... :rolleyes: --Sherlock Charles Again

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            In testa che avete, signor di Ceprano?

            A 1 Reply Last reply
            0
            • CPalliniC CPallini

              ali kanju wrote:

              open ur .rc file in notepad and save it as unicode...

              Uh...What? I have no .rc file, but I don't care at all. On the other hand, I need facts... :rolleyes: --Sherlock Charles Again

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              A Offline
              A Offline
              ali kanju
              wrote on last edited by
              #6

              facts about wat?life?

              CPalliniC 1 Reply Last reply
              0
              • R Rajesh R Subramanian

                Hi, What do you mean by it fails? The garbled text is in Chinese or not? If not Chinese, do you see question marks instead? Is your application fully Unicode?

                It is a crappy thing, but it's life -^ Carlo Pallini

                J Offline
                J Offline
                jeansea
                wrote on last edited by
                #7

                What do you mean by it fails? A:fail is means after copy the chinese word is not i want just so; The garbled text is in Chinese or not? A:the garbled text is also chinese you can see below: when before copy chinese word "你好" after copy the chinese word in edit caption is "斕疑" Is your application fully Unicode? A:my application's character set is MBCS

                R 1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  Hi, What do you mean by it fails? The garbled text is in Chinese or not? If not Chinese, do you see question marks instead? Is your application fully Unicode?

                  It is a crappy thing, but it's life -^ Carlo Pallini

                  J Offline
                  J Offline
                  jeansea
                  wrote on last edited by
                  #8

                  What do you mean by it fails? A:fail is means after copy the chinese word is not i want just so; The garbled text is in Chinese or not? A:the garbled text is also chinese you can see below: when before copy chinese word "你好" after copy the chinese word in edit caption is "斕疑" Is your application fully Unicode? A:my application's character set is MBCS

                  1 Reply Last reply
                  0
                  • A ali kanju

                    open ur .rc file in notepad and save it as unicode...

                    J Offline
                    J Offline
                    jeansea
                    wrote on last edited by
                    #9

                    i have tried but not ok

                    1 Reply Last reply
                    0
                    • J jeansea

                      What do you mean by it fails? A:fail is means after copy the chinese word is not i want just so; The garbled text is in Chinese or not? A:the garbled text is also chinese you can see below: when before copy chinese word "你好" after copy the chinese word in edit caption is "斕疑" Is your application fully Unicode? A:my application's character set is MBCS

                      R Offline
                      R Offline
                      Rajesh R Subramanian
                      wrote on last edited by
                      #10

                      jeansea wrote:

                      A:my application's character set is MBCS

                      To begin with, you can do an Unicode build.

                      It is a crappy thing, but it's life -^ Carlo Pallini

                      1 Reply Last reply
                      0
                      • A ali kanju

                        facts about wat?life?

                        CPalliniC Offline
                        CPalliniC Offline
                        CPallini
                        wrote on last edited by
                        #11

                        Facts, facts. For instance is a fact that you missed the OP, replying instead to me. --Sherlock Charles Again & Again :)

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        In testa che avete, signor di Ceprano?

                        A 1 Reply Last reply
                        0
                        • CPalliniC CPallini

                          Facts, facts. For instance is a fact that you missed the OP, replying instead to me. --Sherlock Charles Again & Again :)

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                          [My articles]

                          A Offline
                          A Offline
                          ali kanju
                          wrote on last edited by
                          #12

                          wats an op?

                          CPalliniC 1 Reply Last reply
                          0
                          • A ali kanju

                            wats an op?

                            CPalliniC Offline
                            CPalliniC Offline
                            CPallini
                            wrote on last edited by
                            #13

                            OP - Original Post. :)

                            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                            [My articles]

                            In testa che avete, signor di Ceprano?

                            A 1 Reply Last reply
                            0
                            • CPalliniC CPallini

                              OP - Original Post. :)

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                              [My articles]

                              A Offline
                              A Offline
                              ali kanju
                              wrote on last edited by
                              #14

                              ok i got da fact thanx

                              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