From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E761B3858CDA; Sun, 19 Feb 2023 23:02:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E761B3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676847767; bh=bylY1aJ7n+hDpDpMdRxlYL/rUwRDDieXqssxjnLvSg4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vJvSTSsgo1wZ8/pAgS7t1j6Kievb5GFGA0gNQ33bJ77WaqkOZyoiRqd918RZTDOsa zLtJtnC90Kq1W2eW2+7oAo/7pZcuK2rKPAOeRCpA2UOrt9DIytUoeSdIvjjyU7muCp ET1dD2QBfWBuyCCRhjbLH0ZAk/WRJX14xeFBi36Y= From: "steffen at sdaoden dot eu" 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: Sun, 19 Feb 2023 23:02:47 +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: steffen at sdaoden dot eu 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 #11 from Steffen Nurpmeso --- iconv could do much more for programmers anyway. For example email software has to know whether an actual character set is, = in fact, US-ASCII, and the iconv implementation surely knows. Yet it does not expose an API for this particular thing ("official name"). Like normalize_name(), and i have a dedicated is_ascii like /* In reversed MIME preference order */ static char const * const names[] =3D {"csASCII", "cp367", "IBM367", "us", "ISO646-US", "ISO_646.irv:1991", "ANSI_X3.4-1986", "iso-ir-6", "ANSI_X3.4-1968", "ASCII", "US-ASCII"}; I am pretty sure GNU iconv will map all those names to the thing. --=20 You are receiving this mail because: You are on the CC list for the bug.=