path: root/include/parserutils/charset
diff options
authorJohn Tytgat <>2008-06-28 14:20:50 +0000
committerJohn Tytgat <>2008-06-28 14:20:50 +0000
commitd7428881c86e1b1305f6d52a9a7a3af5dd5afa37 (patch)
tree018ccf4c94f2d0fe661e445a5de4d05cb611f819 /include/parserutils/charset
parentbbbdd1e8779bb359060f4104699994ef5d21877e (diff)
Pedantic spelling changes of encoding names UTF-8, UTF-16 and UCS-4
svn path=/trunk/libparserutils/; revision=4469
Diffstat (limited to 'include/parserutils/charset')
1 files changed, 3 insertions, 3 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,