Template:UTF-8/1
Jump to navigation
Jump to search
00
Template documentation
If the number passed is less than 128, then this is a one byte sequence - return the value; otherwise, it's the last byte of a multi-byte sequence, and you add the 6 least significant bits to 0x80.