summaryrefslogtreecommitdiff
path: root/src/charset/encodings
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset/encodings')
-rw-r--r--src/charset/encodings/utf16.c6
-rw-r--r--src/charset/encodings/utf8.c6
-rw-r--r--src/charset/encodings/utf8impl.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/charset/encodings/utf16.c b/src/charset/encodings/utf16.c
index 95dc64f..59cb146 100644
--- a/src/charset/encodings/utf16.c
+++ b/src/charset/encodings/utf16.c
@@ -16,11 +16,11 @@
#include <parserutils/charset/utf16.h>
/**
- * Convert a UTF-16 sequence into a single UCS4 character
+ * Convert a UTF-16 sequence into a single UCS-4 character
*
* \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-16 sequence
* \return PARSERUTILS_OK on success, appropriate error otherwise
*/
@@ -55,7 +55,7 @@ parserutils_error parserutils_charset_utf16_to_ucs4(const uint8_t *s,
}
/**
- * Convert a single UCS4 character into a UTF-16 sequence
+ * Convert a single UCS-4 character into a UTF-16 sequence
*
* \param ucs4 The character to process (0 <= c <= 0x7FFFFFFF) (host endian)
* \param s Pointer to 4 byte long output buffer
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.
diff --git a/src/charset/encodings/utf8impl.h b/src/charset/encodings/utf8impl.h
index 1ca9de7..b1721c7 100644
--- a/src/charset/encodings/utf8impl.h
+++ b/src/charset/encodings/utf8impl.h
@@ -20,14 +20,14 @@
extern 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 macro 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
* \param error Location to receive error code
*/
@@ -109,7 +109,7 @@ do { \
} while(0)
/**
- * 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 macro conforms to RFC2279, however.