summaryrefslogtreecommitdiff
path: root/module/sys.m
diff options
context:
space:
mode:
Diffstat (limited to 'module/sys.m')
-rw-r--r--module/sys.m6
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;