Page MenuHomeWickedGov Phorge

utf8.foma
No OneTemporary

Size
661 B
Referenced Files
None
Subscribers
None

utf8.foma

# Unicode continuation bytes are binary
# 10xxxxxx, which is decimal [128, 191]
define UTF8CONT [
"80"|"81"|"82"|"83"|"84"|"85"|"86"|"87"|"88"|"89"|"8A"|"8B"|"8C"|"8D"|"8E"|"8F"|
"90"|"91"|"92"|"93"|"94"|"95"|"96"|"97"|"98"|"99"|"9A"|"9B"|"9C"|"9D"|"9E"|"9F"|
"A0"|"A1"|"A2"|"A3"|"A4"|"A5"|"A6"|"A7"|"A8"|"A9"|"AA"|"AB"|"AC"|"AD"|"AE"|"AF"|
"B0"|"B1"|"B2"|"B3"|"B4"|"B5"|"B6"|"B7"|"B8"|"B9"|"BA"|"BB"|"BC"|"BD"|"BE"|"BF"
];
define LONGSAFEUTF8(safe) NO'BRACKETS .o. [
[[ [\UTF8CONT] ?* ] .o. safe].u @-> "[[" ... "]]" || _ [[\UTF8CONT]|.#.]
] .o. SWAPBRACKETS;
define LONGSAFEUTF8'NOT'OK(a,b,safe) [
NO'BRACKETS .o. BRACK'NOT'OK(a,b,LONGSAFEUTF8(safe))
];

File Metadata

Mime Type
text/plain
Expires
Oct 7 2026, 19:33 (6 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
78/9d/94dd214e1af96059898f6cdc8524
Default Alt Text
utf8.foma (661 B)

Event Timeline