- ASCII is 0 - 7F (128 total characters) - ASCII is a subset of UTF-8
- UTF-8 - variable width 1 to 4 bytes
Numberof bytes | Bits forcode point | Firstcode point | Lastcode point | Byte 1 | Byte 2 | Byte 3 | Byte 4 |
---|---|---|---|---|---|---|---|
1 | 7 | U+0000 | U+007F | 0xxxxxxx | |||
2 | 11 | U+0080 | U+07FF | 110xxxxx | 10xxxxxx | ||
3 | 16 | U+0800 | U+FFFF | 1110xxxx | 10xxxxxx | 10xxxxxx |