mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
9 lines
1.1 KiB
Plaintext
9 lines
1.1 KiB
Plaintext
UTF-16 (16-bit Unicode Transformation Format) is a character encoding capable of
|
|
encoding all 1,112,064 possible characters in Unicode. The encoding is
|
|
variable-length, as code points are encoded with one or two 16-bit code units.
|
|
(also see Comparison of Unicode encodings for a comparison of UTF-8, -16 & -32)
|
|
|
|
UTF-16 developed from an earlier fixed-width 16-bit encoding known as UCS-2 (for
|
|
2-byte Universal Character Set) once it became clear that a fixed-width 2-byte
|
|
encoding could not encode enough characters to be truly universal.
|