
This Unicode is above 2047 and more than 11 bits have to be coded. This needs three UTF-8 bytes. The header byte starts with "1110" showing that the multibyte code consists of 3 bytes. 4 bits (blue) space is left for the Unicode number. The two following bytes start with "10" and can hold 6 bits each (magenta and green) - all together 4+6+6=16. Hence, a three byte UTF-8 multibyte code represents Unicode characters up to the number 65535.
| euro sign | <= iacute | > iacute | |
| Unicode | |||
| decimal | 8364 | ||
| hexadec. | 20ac | ||
| bin(16) | 0010000010101100 | ||
| =>Utf8 | |||
| UTF-8/1 | (226) 11100010 | ||
| UTF-8/2 | (130) 10000010 | ||
| UTF-8/3 | (172) 10101100 | ||