summaryrefslogtreecommitdiff
path: root/src/charset/codecs/codec_utf16.c
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 /src/charset/codecs/codec_utf16.c
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 'src/charset/codecs/codec_utf16.c')
-rw-r--r--src/charset/codecs/codec_utf16.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/charset/codecs/codec_utf16.c b/src/charset/codecs/codec_utf16.c
index 0dd7a07..65f4d1a 100644
--- a/src/charset/codecs/codec_utf16.c
+++ b/src/charset/codecs/codec_utf16.c
@@ -80,7 +80,7 @@ bool charset_utf16_codec_handles_charset(const char *charset)
}
/**
- * Create a utf16 codec
+ * Create a UTF-16 codec
*
* \param charset The charset to read from / write to
* \param alloc Memory (de)allocation function
@@ -117,7 +117,7 @@ parserutils_charset_codec *charset_utf16_codec_create(const char *charset,
}
/**
- * Destroy a utf16 codec
+ * Destroy a UTF-16 codec
*
* \param codec The codec to destroy
*/
@@ -127,7 +127,7 @@ void charset_utf16_codec_destroy (parserutils_charset_codec *codec)
}
/**
- * Encode a chunk of UCS4 data into utf16
+ * Encode a chunk of UCS-4 data into UTF-16
*
* \param codec The codec to use
* \param source Pointer to pointer to source data
@@ -246,7 +246,7 @@ parserutils_error charset_utf16_codec_encode(parserutils_charset_codec *codec,
}
/**
- * Decode a chunk of utf16 data into UCS4
+ * Decode a chunk of UTF-16 data into UCS-4
*
* \param codec The codec to use
* \param source Pointer to pointer to source data
@@ -366,7 +366,7 @@ parserutils_error charset_utf16_codec_decode(parserutils_charset_codec *codec,
}
/**
- * Clear a utf16 codec's encoding state
+ * Clear a UTF-16 codec's encoding state
*
* \param codec The codec to reset
* \return PARSERUTILS_OK on success, appropriate error otherwise
@@ -389,7 +389,7 @@ parserutils_error charset_utf16_codec_reset(parserutils_charset_codec *codec)
/**
- * Read a character from the UTF-16 to UCS4 (big endian)
+ * Read a character from the UTF-16 to UCS-4 (big endian)
*
* \param c The codec
* \param source Pointer to pointer to source buffer (updated on exit)
@@ -510,10 +510,10 @@ parserutils_error charset_utf16_codec_read_char(charset_utf16_codec *c,
}
/**
- * Output a UCS4 character
+ * Output a UCS-4 character
*
* \param c Codec to use
- * \param ucs4 UCS4 character (host endian)
+ * \param ucs4 UCS-4 character (host endian)
* \param dest Pointer to pointer to output buffer
* \param destlen Pointer to output buffer length
* \return PARSERUTILS_OK on success,