From 4780247859f2da6e79e138b72d796447b1c3a3d1 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 6 Jul 2026 12:30:46 -0400 Subject: [PATCH] README.rst: libiconv/glibc fail on untranslatable sequences --- README.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.rst b/README.rst index 83db719..b05544f 100644 --- a/README.rst +++ b/README.rst @@ -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. -- 2.53.0