From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B8693858D3C; Sat, 18 Feb 2023 21:20:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B8693858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676755258; bh=uMwT+mMJr/RxrcMwwoDEV+k98j1QW/KI83wyP9Mk/l4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jWB/9+SZXLtq5IV3cgrNw0R8/klUd3ik96o34CkXLgU7iW/Gxwwed+R1nYu6lkRnK 9Sd25JZRr6tH6f0NtrSDasPDsPbWHJn0HZhjdTHzkf6SQ22HmjzxNNnrBgzQ/yE1YE riLTyLnLqq00nYNK25UTYXVS2AtdElA690T5eTBc= From: "rrt at sc3d dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29913] iconv(3) is not POSIX compliant, and does not conform to linux man-pages manual Date: Sat, 18 Feb 2023 21:20:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rrt at sc3d dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29913 --- Comment #2 from Reuben Thomas --- Some thoughts about remedying the defect: 1. I guess that the current behaviour needs to be retained in some form, because clients will rely on it. In particular, it gives a way to detect wh= en precise conversion is not possible, which iconv's spec does not. 2. However, the current behaviour is a problem for portable programs like Recode, that need to work with multiple iconv implementations. And, it's a = bug! 3. The simplest "implementation-dependent conversion" would be to act as if either //IGNORE or //TRANSLIT behaviour had been requested. --=20 You are receiving this mail because: You are on the CC list for the bug.=