Handbook
Glossary
utf16
UTF-16 encoding
Next:
utf16le
Vocabulary
io
.
encodings
.
utf16
Class description
The encoding descriptor for UTF-16, that is, UTF-16 with a byte order mark. This is the most useful for general input and output in UTF-16. Streams can be made which read or write wth this encoding.
See also
An introduction to encodings
See also
utf16le
,
utf16be
,
utf16n
Definition
IN:
io.encodings.utf16
SINGLETON:
utf16
Methods
USING:
io
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16
<decoder>
drop
2
over
stream-read
bom>le/be
<decoder>
;
USING:
io
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16
<encoder>
drop
bom-le
over
stream-write
utf16le
<encoder>
;