]> gitweb.michael.orlitzky.com - iconv-quirks.git/commitdiff
README.rst: libiconv/glibc fail on untranslatable sequences
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 6 Jul 2026 16:30:46 +0000 (12:30 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 6 Jul 2026 16:30:46 +0000 (12:30 -0400)
README.rst

index 83db7193317090f5d9436987bd0703c9cb7f4980..b05544ff693696ba6ec4282b0bed2d33611840f4 100644 (file)
@@ -30,3 +30,20 @@ glibc
 * iconv_open() accepts any indicator suffix, such as ``//INVALID``.
 * iconv() returns EILSEQ when it ignores invalid input.
 
+Non-conformance by implementation
+================================
+
+Perhaps illegal, if my reading of POSIX 2024 is correct. But keep in
+mind that most of these implementations predate (this part of) POSIX.
+
+glibc
+-----
+
+* With no indicator suffixes, iconv() returns EILSEQ for
+  valid but untranslatable sequences.
+
+libiconv
+--------
+
+* With no indicator suffixes, iconv() returns EILSEQ for
+  valid but untranslatable sequences.