]> gitweb.factorcode.org Git - factor.git/blob - basis/io/encodings/utf16/utf16-docs.factor
Create basis vocab root
[factor.git] / basis / io / encodings / utf16 / utf16-docs.factor
1 USING: help.markup help.syntax io.encodings strings ;
2 IN: io.encodings.utf16
3
4 ARTICLE: "io.encodings.utf16" "UTF-16"
5 "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:"
6 { $subsection utf16 }
7 { $subsection utf16le }
8 { $subsection utf16be } ;
9
10 ABOUT: "io.encodings.utf16"
11
12 HELP: utf16le
13 { $class-description "The encoding descriptor for UTF-16LE, that is, UTF-16 in little endian, without a byte order mark. Streams can be made which read or write wth this encoding." }
14 { $see-also "encodings-introduction" } ;
15
16 HELP: utf16be
17 { $class-description "The encoding descriptor for UTF-16BE, that is, UTF-16 in big endian, without a byte order mark. Streams can be made which read or write wth this encoding." }
18 { $see-also "encodings-introduction" } ;
19
20 HELP: utf16
21 { $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." }
22 { $see-also "encodings-introduction" } ;
23
24 { utf16 utf16le utf16be } related-words