From 130b17110dcf1f5bf42b99d06882f01545c8eb3c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 28 Jun 2008 21:14:42 +0000 Subject: Make comments explicit about the endianness of UCS-4 data svn path=/trunk/libparserutils/; revision=4473 --- src/charset/codecs/codec_utf16.c | 6 +++--- src/charset/codecs/codec_utf8.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/charset/codecs') diff --git a/src/charset/codecs/codec_utf16.c b/src/charset/codecs/codec_utf16.c index 8738cf1..e17c217 100644 --- a/src/charset/codecs/codec_utf16.c +++ b/src/charset/codecs/codec_utf16.c @@ -127,7 +127,7 @@ void charset_utf16_codec_destroy (parserutils_charset_codec *codec) } /** - * Encode a chunk of UCS-4 data into UTF-16 + * Encode a chunk of UCS-4 (big endian) 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 UTF-16 data into UCS-4 + * Decode a chunk of UTF-16 data into UCS-4 (big endian) * * \param codec The codec to use * \param source Pointer to pointer to source data @@ -509,7 +509,7 @@ parserutils_error charset_utf16_codec_read_char(charset_utf16_codec *c, } /** - * Output a UCS-4 character + * Output a UCS-4 character (big endian) * * \param c Codec to use * \param ucs4 UCS-4 character (host endian) diff --git a/src/charset/codecs/codec_utf8.c b/src/charset/codecs/codec_utf8.c index d7b51be..24eb3e4 100644 --- a/src/charset/codecs/codec_utf8.c +++ b/src/charset/codecs/codec_utf8.c @@ -128,7 +128,7 @@ void charset_utf8_codec_destroy (parserutils_charset_codec *codec) } /** - * Encode a chunk of UCS-4 data into UTF-8 + * Encode a chunk of UCS-4 (big endian) data into UTF-8 * * \param codec The codec to use * \param source Pointer to pointer to source data @@ -232,7 +232,7 @@ parserutils_error charset_utf8_codec_encode(parserutils_charset_codec *codec, } /** - * Decode a chunk of UTF-8 data into UCS-4 + * Decode a chunk of UTF-8 data into UCS-4 (big endian) * * \param codec The codec to use * \param source Pointer to pointer to source data @@ -510,7 +510,7 @@ parserutils_error charset_utf8_codec_read_char(charset_utf8_codec *c, } /** - * Output a UCS-4 character + * Output a UCS-4 character (big endian) * * \param c Codec to use * \param ucs4 UCS-4 character (host endian) -- cgit v1.2.3