UTF-8#
This module provides UTF-8 encoder and decoder collectors, as well as
a UTF-8 aware char
function.
- inline
decoder
( coll ) -
Convert a char character stream as UTF-8 codepoints of type i32. Invalid bytes are forwarded as negative numbers; negating the number yields the offending byte character.
- inline
encoder
( coll ) -
Convert an integer codepoint to char bytes; the collector forwards a byte at a time.
- spice
char32
( ... )