From nobody Sun Apr 07 11:03:31 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VC8Tz53yTz5GZ26 for ; Sun, 7 Apr 2024 11:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VC8Tz2b6jz51Fb for ; Sun, 7 Apr 2024 11:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712487815; a=rsa-sha256; cv=none; b=jz3mBI+I6lxNdBiAtr0pRdKzjhj9TkP3D4afhhN9vEsdV6Vk7ra6Ti6L7PnNo4COVZTnQo hSQJ9dp/SIFfpX0X7Splyy4K62avP+gyTPgmCC75UVO7mI1SxM5jr3Vo99tRJWO/x4VsBC /sRilhAzZZOOK6Sq+iR+7mrULZk8bGcS4HF4ts4FKcxQhxT76e4PwDIixW3qhdNWXqsBgj BYnxOUwZ/UdyGHHLunBQ4FhjA4KpXlHaRt2sloLHAv6S6BU0RnWYcbM06ze9BYJB+E80P8 9CnzcD517R9XusA+jKTUbDuiSsxDQhmWgze5N/mDzN0Duvp8PX8IFNnZZa+GxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712487815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KFOlw4a6zRtBQOoBAZk7MMksiAghHp6QEmlQqcRYftE=; b=Arol0DvgXZ8fINR4zWSDjLUNjUfm0Cp82mUq4NWh76FZLiaJ8MFqxPstnmvrwfEYSbaIZ+ BVgourzyhl8nO7OQEf1gR+Dpy1KDCxtmYbEoD42eKLGsBYgswZ94OMdn+qMoi1zweEbyJ6 +YqLZf3Pl+WXzLdnLAvPVtMo3yBAjOG0HHW5hJTjO4kqRr8yjipvZAG7TLSPGc6Bw+I6CA dr7teJPW/HkK6JstroKtXeGXocvKlyJIE+tLWdtAzUg6KmtfIQdtZef9+OdxmPPHRJQ24z 6waLtFRh04tnhouTnr5Zyr7pyoWf2kzQtNcvZcbwmgjU/9kZvbxlktk0noKiIg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VC8Tz2B4ZzPWm for ; Sun, 7 Apr 2024 11:03:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 437B3ZAo079155 for ; Sun, 7 Apr 2024 11:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 437B3ZmX079113 for bugs@FreeBSD.org; Sun, 7 Apr 2024 11:03:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278229] iconv mapping tables for ISO 8859-2 and 8859-3 contain garbage Date: Sun, 07 Apr 2024 11:03:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eichelberg@offis.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278229 Bug ID: 278229 Summary: iconv mapping tables for ISO 8859-2 and 8859-3 contain garbage Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: eichelberg@offis.de Created attachment 249799 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249799&action= =3Dedit Fixed mapping tables for ISO-8859-2, -3 and -5 The iconv mapping tables from Unicode to ISO-8859-2 and ISO-8859-3 contain many incorrect mappings where Unicode characters not available in the ISO character set are mapped to four character sequences essentially containing garbage.=20 In the FreeBSD source tree, the source files for these mapping tables are located in /share/i18n/csmapper/ISO-8859/. It should be noted that the mapp= ing tables for ISO 8859-4 to 8859-16 are between 16 and 24 kBytes, whereas the mapping tables for ISO 8859-2 and ISO 8859-3 are over a megabyte in size. Apparently the majority of mappings that map one Unicode code position to a sequence of four ISO characters contain garbage. This issue was already pre= sent in the initial commit for these files in February 2011 and has apparently n= ever been noticed.=20 Attached to this bug report are corrected mapping tables for ISO 8859-2 and= ISO 8859-3. These retain all mappings to four-byte character sequences that are also present in the other ISO 8859 mapping tables and remove all others.=20 Furthermore, the table for ISO 8859-5 is also attached. This currently cont= ains many duplicate lines, which do not cause problems when processed, but are unneccessary and should be removed. --=20 You are receiving this mail because: You are the assignee for the bug.=