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. [solved] What benefit has a MULTIBYTE application compared to a UNICODE version ? [modified]

[solved] What benefit has a MULTIBYTE application compared to a UNICODE version ? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
8 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.
  • E Offline
    E Offline
    Eugen Podsypalnikov
    wrote on last edited by
    #1

    Please, would it be possible to enumerate all MB-advantages shortly ? Thank you ! :)

    virtual void BeHappy() = 0;

    modified on Wednesday, March 24, 2010 7:38 AM

    M S 2 Replies Last reply
    0
    • E Eugen Podsypalnikov

      Please, would it be possible to enumerate all MB-advantages shortly ? Thank you ! :)

      virtual void BeHappy() = 0;

      modified on Wednesday, March 24, 2010 7:38 AM

      M Offline
      M Offline
      Moak
      wrote on last edited by
      #2

      Fixed-length vs variable-length UNICODE, the first that comes in my mind: UTF-8 is pretty much everywhere and the most used variable-length UNICODE encoding ("multibyte"). Alone for compatibility in network applications or together with XML it could be a very good idea to choose it, probably because it is a "fits-all" format. It is able to represent any UNICODE character, yet backwards compatible with ASCII (7 bit). Also see UTF-8 advantages and disadvantages[^]. /M

      Webchat in Europe :java: Now with 26% more Twitter

      E S 2 Replies Last reply
      0
      • M Moak

        Fixed-length vs variable-length UNICODE, the first that comes in my mind: UTF-8 is pretty much everywhere and the most used variable-length UNICODE encoding ("multibyte"). Alone for compatibility in network applications or together with XML it could be a very good idea to choose it, probably because it is a "fits-all" format. It is able to represent any UNICODE character, yet backwards compatible with ASCII (7 bit). Also see UTF-8 advantages and disadvantages[^]. /M

        Webchat in Europe :java: Now with 26% more Twitter

        E Offline
        E Offline
        Eugen Podsypalnikov
        wrote on last edited by
        #3

        Thank you, Moak ! (I did not know, that "multibyte" does mean "UTF-8"... :) )

        virtual void BeHappy() = 0;

        1 Reply Last reply
        0
        • M Moak

          Fixed-length vs variable-length UNICODE, the first that comes in my mind: UTF-8 is pretty much everywhere and the most used variable-length UNICODE encoding ("multibyte"). Alone for compatibility in network applications or together with XML it could be a very good idea to choose it, probably because it is a "fits-all" format. It is able to represent any UNICODE character, yet backwards compatible with ASCII (7 bit). Also see UTF-8 advantages and disadvantages[^]. /M

          Webchat in Europe :java: Now with 26% more Twitter

          S Offline
          S Offline
          Saurabh Garg
          wrote on last edited by
          #4

          That is incorrect MBCS and Unicode are different things. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx. VC++ implements MSCS as DBCS (Double Byte Character Sets). -Saurabh P.S. Some how auto links are not working.

          1 Reply Last reply
          0
          • E Eugen Podsypalnikov

            Please, would it be possible to enumerate all MB-advantages shortly ? Thank you ! :)

            virtual void BeHappy() = 0;

            modified on Wednesday, March 24, 2010 7:38 AM

            S Offline
            S Offline
            Saurabh Garg
            wrote on last edited by
            #5

            MBCS is not same as Unicode as reported by other poster. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx for details. -Saurabh P.S. Some how auto links are not working.

            E M 2 Replies Last reply
            0
            • S Saurabh Garg

              MBCS is not same as Unicode as reported by other poster. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx for details. -Saurabh P.S. Some how auto links are not working.

              E Offline
              E Offline
              Eugen Podsypalnikov
              wrote on last edited by
              #6

              Thank you, Saurabh ! (I would prefer to use UNICODE since there is no a "size-fixed character type" (like TCHAR) to use with MBCS sequences, and it (MBCS) is not fully supported in MFC... :) )

              virtual void BeHappy() = 0;

              S 1 Reply Last reply
              0
              • E Eugen Podsypalnikov

                Thank you, Saurabh ! (I would prefer to use UNICODE since there is no a "size-fixed character type" (like TCHAR) to use with MBCS sequences, and it (MBCS) is not fully supported in MFC... :) )

                virtual void BeHappy() = 0;

                S Offline
                S Offline
                Saurabh Garg
                wrote on last edited by
                #7

                You are welcome. If you are interested then you can read more about it in excellent articles from Michael Dunn. http://www.codeproject.com/KB/string/cppstringguide1.aspx http://www.codeproject.com/KB/string/cppstringguide2.aspx -Saurabh

                1 Reply Last reply
                0
                • S Saurabh Garg

                  MBCS is not same as Unicode as reported by other poster. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx for details. -Saurabh P.S. Some how auto links are not working.

                  M Offline
                  M Offline
                  Moak
                  wrote on last edited by
                  #8

                  I think Peter Laman's post is good to read: UNICODE confusion[^] PS: My name is Moak :)

                  Webchat in Europe :java: Now with 26% more Twitter

                  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