- What is the difference between a code point and a UTF-16 code unit?
- A code point is a single Unicode scalar value. UTF-16 represents some code points with a surrogate pair (two code units). Emoji, for example, are one code point but two UTF-16 code units. This tool displays code points, not code units.
- Why are surrogate code points rejected?
- Values U+D800 through U+DFFF are reserved for UTF-16 encoding and are not valid standalone Unicode scalar values.
- Which input formats are accepted?
- U+XXXX, 0xXXXX, decimal digits, or hex digits containing letters. Tokens may be separated by spaces, commas, or newlines.