Šablonas:UTF-8/1

Šablonas iš Vikipedijos, laisvosios enciklopedijos.

00

Documentation icon Šablono dokumentacija

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.