bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iconv on HP-UX


From: Bruno Haible
Subject: iconv on HP-UX
Date: Fri, 31 Dec 2010 23:08:33 +0100
User-agent: KMail/1.9.9

On HP-UX 11.11 and 11.31, I'm seeing this iconv test failure:

  test-iconv.c:65: assertion failed
  FAIL: test-iconv

HP-UX iconv returns a positive value any time a non-ASCII character is
converted. This is an interpretation of the POSIX wording that disagrees
with what all other systems do. The bug is not fatal, but ought to be
documented:


2010-12-31  Bruno Haible  <address@hidden>

        iconv: Document HP-UX 11 bug.
        * doc/posix-functions/iconv.texi: Document HP-UX 11 return value bug.

--- doc/posix-functions/iconv.texi.orig Fri Dec 31 22:56:06 2010
+++ doc/posix-functions/iconv.texi      Fri Dec 31 22:55:04 2010
@@ -34,4 +34,7 @@
 Gnulib provides higher-level facilities @code{striconv} and @code{striconveh}
 (wrappers around @code{iconv}) that deal with conversion errors in a platform
 independent way.
address@hidden
+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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]