S
S
sddvxd2018-03-19 19:53:09
C++ / C#
sddvxd, 2018-03-19 19:53:09

What is the difference between multibyte encoding and Unicode?

In VS, there is a "Character Set" field in the project settings and some options are listed, for example:

  • Use Unicode character set
  • Use multibyte encoding

etc.
As I understood (assumed), a Unicode string is an array of unsigned short int
Then what is a multibyte string? Just an array of more capacious numeric types?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-03-19
@sddvxd

https://msdn.microsoft.com/ru-ru/library/cwe8bzh0.aspx
https://ru.wikipedia.org/wiki/DBCS
Before Unicode, there were also encodings with a character size of more than a byte.

D
Denis, 2018-03-19
@sidni

well, if it’s like by analogy with Mysql, then the difference is that the multibyte encoding is an extended unicode (for example, emojis are added)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question