From patchwork Thu Jun 14 19:11:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 27856 Received: (qmail 70751 invoked by alias); 14 Jun 2018 19:11:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 70735 invoked by uid 89); 14 Jun 2018 19:11:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=vertical, quarters, accent X-HELO: mx1.redhat.com Date: Thu, 14 Jun 2018 21:11:15 +0200 To: libc-alpha@sourceware.org Subject: [PATCH] localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290] User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20180614191115.62A754016AD37@oldenburg.str.redhat.com> From: fweimer@redhat.com (Florian Weimer) 2018-06-14 Florian Weimer [BZ #23290] * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so that the result stays within the ISO-8859-1 range. * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256 characters are defined in IBM273. Reviewed-by: Carlos O'Donell diff --git a/iconvdata/ibm273.c b/iconvdata/ibm273.c index c303cf306d..132c06f0eb 100644 --- a/iconvdata/ibm273.c +++ b/iconvdata/ibm273.c @@ -23,6 +23,6 @@ #define TABLES #define CHARSET_NAME "IBM273//" -#define HAS_HOLES 1 /* Not all 256 character are defined. */ +#define HAS_HOLES 0 #include <8bit-gap.c> diff --git a/localedata/charmaps/IBM273 b/localedata/charmaps/IBM273 index c3f70e2a6f..233d0db57d 100644 --- a/localedata/charmaps/IBM273 +++ b/localedata/charmaps/IBM273 @@ -194,7 +194,7 @@ CHARMAP /xb9 VULGAR FRACTION THREE QUARTERS /xba NOT SIGN /xbb VERTICAL LINE - /xbc OVERLINE + /xbc OVERLINE /xbd DIAERESIS /xbe ACUTE ACCENT /xbf MULTIPLICATION SIGN