NON_ASCII

Constant NON_ASCII 

Source
const NON_ASCII: RangeInclusive<u8>;
Expand description

non-ascii = %x80-D7FF / %xE000-10FFFF

  • ASCII is 0xxxxxxx
  • First byte for UTF-8 is 11xxxxxx
  • Subsequent UTF-8 bytes are 10xxxxxx