Template:UTF-8/1

From HandWiki
< Template:UTF-8
Revision as of 13:21, 16 January 2021 by imported>Schekanov (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.