update the docs
parent
8c55f4a851
commit
5dbf68f385
|
@ -2,5 +2,10 @@ USING: help.markup help.syntax ;
|
|||
IN: io.encodings.ascii
|
||||
|
||||
HELP: ascii
|
||||
{ $class-description "This is the encoding descriptor which denotes an ASCII encoding. By default, if there's a non-ASCII character in an input stream, it will be replaced with a replacement character (U+FFFD), and if a non-ASCII character is used in output, an exception is thrown." }
|
||||
{ $see-also "encodings-introduction" } ;
|
||||
{ $class-description "ASCII encoding descriptor." } ;
|
||||
|
||||
ARTICLE: "ascii" "ASCII encoding"
|
||||
"By default, if there's a non-ASCII character in an input stream, it will be replaced with a replacement character (U+FFFD), and if a non-ASCII character is used in output, an exception is thrown."
|
||||
{ $subsection ascii } ;
|
||||
|
||||
ABOUT: "ascii"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
USING: help.markup help.syntax io.encodings strings ;
|
||||
IN: io.encodings.utf16
|
||||
|
||||
ARTICLE: "io.encodings.utf16" "UTF-16"
|
||||
ARTICLE: "io.encodings.utf16" "UTF-16 encoding"
|
||||
"The UTF-16 encoding is a variable-width encoding. Unicode code points are encoded as 2 or 4 byte sequences. There are three encoding descriptor classes for working with UTF-16, depending on endianness or the presence of a BOM:"
|
||||
{ $subsection utf16 }
|
||||
{ $subsection utf16le }
|
||||
|
|
Loading…
Reference in New Issue