Handbook
Glossary
encode-string ( string stream encoding -- )
Vocabulary
io
.
encodings
Inputs
string
an
object
stream
an
object
encoding
an
object
Outputs
None
Definition
IN:
io.encodings
GENERIC:
encode-string
( string stream encoding -- )
Methods
USING:
io
io.encodings
io.encodings.8-bit.private
kernel
sequences
;
M:
8-bit
encode-string
swap
[
[
8-bit-encode
]
curry
B{
}
map-as
]
dip
stream-write
;
USING:
io
io.encodings
io.encodings.ascii
io.encodings.ascii.private
kernel
;
M:
ascii
encode-string
drop
[
ascii>
]
dip
stream-write
;
USING:
io
io.encodings
io.encodings.latin1
kernel
sequences
;
M:
latin1
encode-string
drop
[
[
latin1-encode
]
B{
}
map-as
]
dip
stream-write
;
USING:
io.encodings
kernel
sequences
;
M:
object
encode-string
[
encode-char
]
2curry
each
;
inline
USING:
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16be
encode-string
drop
encode-string-utf16be
;
USING:
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16le
encode-string
drop
encode-string-utf16le
;
USING:
io
io.encodings
io.encodings.utf7
kernel
;
M:
utf7codec
encode-string
swapd
encode-utf7-string
swap
stream-write
;
USING:
io.encodings
io.encodings.utf8
io.encodings.utf8.private
kernel
;
M:
utf8
encode-string
drop
encode-string-utf8
;