]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/encodings/utf16/utf16-docs.factor
io.encodings.utf16n: merge with io.encodings.utf16
[factor.git] / core / io / encodings / utf16 / utf16-docs.factor
index 7d41ada2da2c5c77ad5c759479b526e1ed1b00d1..b6c89853882de794d1d52b897ed88686ee3a1ed1 100644 (file)
@@ -1,10 +1,10 @@
 ! Copyright (C) 2008 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.encodings strings ;
+USING: help.markup help.syntax ;
 IN: io.encodings.utf16
 
 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:"
+"The UTF-16 encoding is a variable-width encoding. Unicode code points are encoded as 2 or 4 byte sequences. There are four encoding descriptor classes for working with UTF-16, depending on endianness or the presence of a BOM:"
 { $subsections
     utf16
     utf16le
@@ -27,8 +27,7 @@ HELP: utf16
 { $see-also "encodings-introduction" } ;
 
 HELP: utf16n
-{ $values { "value" { $or utf16le utf16be } } }
-{ $description "The encoding descriptor for UTF-16 without a byte order mark in native endian order. This is useful mostly for FFI calls which take input of strings of the type " { $snippet "wchar_t*" } "." }
+{ $class-description "The encoding descriptor for UTF-16 without a byte order mark in native endian order. This is useful mostly for FFI calls which take input of strings of the type " { $snippet "wchar_t*" } "." }
 { $see-also "encodings-introduction" } ;
 
 { utf16 utf16le utf16be utf16n } related-words