summaryrefslogtreecommitdiff
path: root/src/charset/encodings/utf8.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/encodings/utf8.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/encodings/utf8.c')
-rw-r--r--src/charset/encodings/utf8.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charset/encodings/utf8.c b/src/charset/encodings/utf8.c
index 5b4ba95..7d8ca6a 100644
--- a/src/charset/encodings/utf8.c
+++ b/src/charset/encodings/utf8.c
@@ -37,14 +37,14 @@ const uint8_t numContinuations[256] = {
};
/**
- * Convert a UTF-8 multibyte sequence into a single UCS4 character
+ * Convert a UTF-8 multibyte sequence into a single UCS-4 character
*
* Encoding of UCS values outside the UTF-16 plane has been removed from
* RFC3629. This function conforms to RFC2279, however.
*
* \param s The sequence to process
* \param len Length of sequence
- * \param ucs4 Pointer to location to receive UCS4 character (host endian)
+ * \param ucs4 Pointer to location to receive UCS-4 character (host endian)
* \param clen Pointer to location to receive byte length of UTF-8 sequence
* \return PARSERUTILS_OK on success, appropriate error otherwise
*/
@@ -59,7 +59,7 @@ parserutils_error parserutils_charset_utf8_to_ucs4(const uint8_t *s, size_t len,
}
/**
- * Convert a single UCS4 character into a UTF-8 multibyte sequence
+ * Convert a single UCS-4 character into a UTF-8 multibyte sequence
*
* Encoding of UCS values outside the UTF-16 plane has been removed from
* RFC3629. This function conforms to RFC2279, however.