summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-06-28 14:20:50 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-06-28 14:20:50 +0000
commitd7428881c86e1b1305f6d52a9a7a3af5dd5afa37 (patch)
tree018ccf4c94f2d0fe661e445a5de4d05cb611f819 /include
parentbbbdd1e8779bb359060f4104699994ef5d21877e (diff)
downloadlibparserutils-d7428881c86e1b1305f6d52a9a7a3af5dd5afa37.tar.gz
libparserutils-d7428881c86e1b1305f6d52a9a7a3af5dd5afa37.tar.bz2
Pedantic spelling changes of encoding names UTF-8, UTF-16 and UCS-4
svn path=/trunk/libparserutils/; revision=4469
Diffstat (limited to 'include')
-rw-r--r--include/parserutils/charset/codec.h6
-rw-r--r--include/parserutils/input/inputstream.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/parserutils/charset/codec.h b/include/parserutils/charset/codec.h
index ca98db5..9bf2ce7 100644
--- a/include/parserutils/charset/codec.h
+++ b/include/parserutils/charset/codec.h
@@ -23,7 +23,7 @@ typedef struct parserutils_charset_codec parserutils_charset_codec;
* A codec's error mode determines its behaviour in the face of:
*
* + characters which are unrepresentable in the destination charset (if
- * encoding data) or which cannot be converted to UCS4 (if decoding data).
+ * encoding data) or which cannot be converted to UCS-4 (if decoding data).
* + invalid byte sequences (both encoding and decoding)
*
* The options provide a choice between the following approaches:
@@ -95,13 +95,13 @@ parserutils_error parserutils_charset_codec_setopt(
parserutils_charset_codec_opttype type,
parserutils_charset_codec_optparams *params);
-/* Encode a chunk of UCS4 data into a codec's charset */
+/* Encode a chunk of UCS-4 data into a codec's charset */
parserutils_error parserutils_charset_codec_encode(
parserutils_charset_codec *codec,
const uint8_t **source, size_t *sourcelen,
uint8_t **dest, size_t *destlen);
-/* Decode a chunk of data in a codec's charset into UCS4 */
+/* Decode a chunk of data in a codec's charset into UCS-4 */
parserutils_error parserutils_charset_codec_decode(
parserutils_charset_codec *codec,
const uint8_t **source, size_t *sourcelen,
diff --git a/include/parserutils/input/inputstream.h b/include/parserutils/input/inputstream.h
index 2b0c407..db81eb0 100644
--- a/include/parserutils/input/inputstream.h
+++ b/include/parserutils/input/inputstream.h
@@ -30,7 +30,7 @@ typedef parserutils_error (*parserutils_charset_detect_func)(
*/
typedef struct parserutils_inputstream
{
- parserutils_buffer *utf8; /**< Buffer containing utf8 data */
+ parserutils_buffer *utf8; /**< Buffer containing UTF-8 data */
uint32_t cursor; /**< Byte offset of current position */