X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Ficonv.texi;h=836b2e83dd05f5b5a32ff5e09c0ec90279f3a89d;hb=d4b6128e5b83f528e79259585977a126ce29c7a8;hp=70a471b267bae862d83b5e7a0d52673cfb0cb49d;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-functions/iconv.texi b/doc/posix-functions/iconv.texi index 70a471b26..836b2e83d 100644 --- a/doc/posix-functions/iconv.texi +++ b/doc/posix-functions/iconv.texi @@ -2,7 +2,7 @@ @section @code{iconv} @findex iconv -POSIX specification: @url{http://www.opengroup.org/susv3xsh/iconv.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/iconv.html} Gnulib module: iconv @@ -12,23 +12,29 @@ Portability problems fixed by Gnulib: GNU libiconv is not found if installed in @file{$PREFIX/lib}. @item Failures are not distinguishable from successful returns on some platforms: -AIX 5.1. +AIX 5.1, Solaris 10. +@item +A buffer overrun can occur on some platforms: +AIX 6.1..7.1. @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -MacOS X 10.3, FreeBSD 6.0, OpenBSD 3.8, Cygwin, mingw, BeOS, +MacOS X 10.5, FreeBSD 6.0, OpenBSD 3.8, Minix 3.1.8, IRIX 5.3, Cygwin, mingw, MSVC 9, BeOS, when GNU libiconv is not installed. @item This function was not correctly implemented in glibc versions before 2.2. @item -When @code{iconv} encounters an input character that is valid but that can -not be converted to the output character set, glibc's and GNU libiconv's +When @code{iconv} encounters an input character that is valid but that +cannot be converted to the output character set, glibc's and GNU libiconv's @code{iconv} stop the conversion. Some other implementations put an implementation-defined character into the output buffer. --- Gnulib provides higher-level facilities @code{striconv} and @code{striconveh} (wrappers around @code{iconv}) that deal with conversion errors in a platform independent way. +@item +This function returns a positive return value, instead of zero, when +converting from ISO-8859-1 to UTF-8 on HP-UX 11. @end itemize