HOME BLOG GITHUB
UTF-16 UTF UTF UTF-32 UTF-32 UTF->UTF-32 UTF-8 UTF-8 UTF->UTF-8 UTF-16 UTF-16 UTF->UTF-16

December 28, 2020

UTF-16

A variable-length encoding with 16-bits as its base.

UTF-16 is another variable length format, that follows the same principle that UTF-8. The difference is that its base unit is coded on 16 bits instead of 8, meaning each character is taking at least 16 bits of memory. Characters are either 16 bits or 32 bits.