rev: 08a0786d94a50b3b229836c53a03976f10ab6bd7 scopes/doc/docs/module-UTF-8.md -rw-r--r-- 942 bytes View raw Log this file
08a0786d94a5Shawn Walker-Salas * drop number sections in menu due to readthedocs theme incompatibility 19 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<style type="text/css" rel="stylesheet">body { counter-reset: chapter 26; }</style>

UTF-8
=====

This module provides UTF-8 encoder and decoder collectors, as well as
a UTF-8 aware `char` function.

*inline*{.property} `decoder`{.descname} (*&ensp;coll&ensp;*)[](#scopes.inline.decoder "Permalink to this definition"){.headerlink} {#scopes.inline.decoder}

:   Convert an i8 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*{.property} `encoder`{.descname} (*&ensp;coll&ensp;*)[](#scopes.inline.encoder "Permalink to this definition"){.headerlink} {#scopes.inline.encoder}

:   Convert an integer codepoint to i8 bytes;
    the collector forwards a byte at a time.

*spice*{.property} `char`{.descname} (*&ensp;...&ensp;*)[](#scopes.spice.char "Permalink to this definition"){.headerlink} {#scopes.spice.char}

: