From d7428881c86e1b1305f6d52a9a7a3af5dd5afa37 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 28 Jun 2008 14:20:50 +0000 Subject: Pedantic spelling changes of encoding names UTF-8, UTF-16 and UCS-4 svn path=/trunk/libparserutils/; revision=4469 --- include/parserutils/charset/codec.h | 6 +++--- include/parserutils/input/inputstream.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3