[solved] What benefit has a MULTIBYTE application compared to a UNICODE version ? [modified]
-
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
-
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
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
-
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
Thank you, Moak ! (I did not know, that "multibyte" does mean "UTF-8"... :) )
virtual void BeHappy() = 0;
-
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
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.
-
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
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.
-
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.
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;
-
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;
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
-
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.
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