diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-06 20:58:48 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-06 20:58:48 +0000 |
| commit | 3a0400887de9df81e4d4fb3bc3dec52af2d49f80 (patch) | |
| tree | 3bd33b318ad1e61825f77451c521f75e2f17da87 /module | |
| parent | 5e15e9a076ca680fcee5c9775b9ef0f52984c61a (diff) | |
UTFerror changes, Runemax/Runemask introduced
Diffstat (limited to 'module')
| -rw-r--r-- | module/sys.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/sys.m b/module/sys.m index 2e1a4e02..4c399fa4 100644 --- a/module/sys.m +++ b/module/sys.m @@ -112,8 +112,10 @@ Sys: module EXPWAIT: con 0; EXPASYNC: con 1; - UTFmax: con 4; - UTFerror: con 16r80; + UTFmax: con 4; # maximum bytes per rune in UTF-8 + UTFerror: con 16rFFFD; # decoding error in UTF + Runemax: con 16r10FFFF; # 21-bit rune + Runemask: con 16r1FFFFF; # bits used by runes announce: fn(addr: string): (int, Connection); aprint: fn(s: string, *): array of byte; |
