Unicode is a standard for computers to make them able to show text in different languages. Unicode standards are promoted by the Unicode Consortium and based on ISO standard. Their goal is to replace current/previous character encoding standards with a single worldwide standard for all languages. There are almost 100,000 characters in the latest definition of Unicode.
Unicode can be used for texts in about every national language and most other languages including European, middle-east and Asiatic ones.
Unicode was developed in the 1990s and integrated earlier codes used on computer systems.
Unicode provides printable characters such as letters of most alphabets in different cases, digits, diactrics, punctuation marks. It also provides characters which do not actually print but instead control how text is processed, for example line endings, or right to left.
Unicode allow to express English words with diacritics such as café, résumé, zoölogy, blessèd, Bön or piña colada.
Unicode consider a graphical character (for instance é) as code point (alone or in sequence [e+ ‘] ). Each code point is a multidigit number which can be encoded in one or several code units. Code units are 8 bits 16 bits or 32 bits. This allows to represent those many characters by sequences of two symbols (zero and ones).
Encodings[change | change source]
There are different ways to encode Unicode, the most common ones are:
- UTF-7 Uses 7 bits per character; relatively unpopular; officially not part of Unicode
- UTF-8 Uses 8 bits per character; a variable-width encoding that keeps compatibility with ASCII; the most common characters can be coded in 2 bytes
- UTF-16 Uses 16 bits per character; also variable-width encoding
- UTF-32 Uses 32 bits per character; a fixed width encoding