Handbook
Glossary
valid-utf8? ( bytes -- ? )
Vocabulary
io
.
encodings
.
detect
.
private
Inputs
bytes
an
object
Outputs
?
an
object
Definition
USING:
io.encodings
io.encodings.string
io.encodings.utf8
kernel
sequences
;
IN:
io.encodings.detect.private
:
valid-utf8?
( bytes -- ? )
utf8
decode
but-last-slice
replacement-char
swap
member?
not
;