Pang-bô͘:UTF-8/2

Wikipedia (chū-iû ê pek-kho-choân-su) beh kā lí kóng...

C0

Documentation icon Pang-bô͘ bûn-kiāⁿ

If the number passed is less than 32, then this is the first digit of a two byte sequence - add to 0xC0; otherwise, it's the third byte of a 4 byte, or second byte of a 3 byte sequence, and you add the 6 least significant bits to 0x80.