_ctype
global · crt
- Address
0x831724· 514 bytes, up to0x831925- Type
uint16_t[257]- Meaning
- Holds the C locale's character type bits for EOF and the bytes 0 to 0xff, none for 0x80 to 0xff
- Confidence
- verified, proof one
- Finding
- net/who#who-filter-decoding
Finding: Who filter decoding in net: who
The copy is read as UTF-8, one code point at a time. A code point goes to the token as every byte the decoder read, so a broken sequence takes the byte that broke it, a space after a lone lead byte included, and a NUL inside a sequence ends the scan. White space is iswspace of the code point's low 16 bits: 0x09 to 0x0d and the space from the C table, nothing from 0x80 to 0xff (so not U+00A0), and from 0x100 on what Windows' GetStringTypeW says, such as U+3000. The overlong C0 A0 and U+10020 are spaces too.
The derivation is in the doc.