localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 14 Jun 2018 20:34:09 +0000 (22:34 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 14 Jun 2018 20:34:10 +0000 (22:34 +0200)
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
iconvdata/ibm273.c
localedata/charmaps/IBM273

index 3604b1c..6cf157a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-06-14  Florian Weimer  <fweimer@redhat.com>
+
+       [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.
+
 2018-06-14  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
index c303cf3..132c06f 100644 (file)
@@ -23,6 +23,6 @@
 #define TABLES <ibm273.h>
 
 #define CHARSET_NAME   "IBM273//"
-#define HAS_HOLES      1       /* Not all 256 character are defined.  */
+#define HAS_HOLES      0
 
 #include <8bit-gap.c>
index c3f70e2..4401101 100644 (file)
@@ -194,7 +194,7 @@ CHARMAP
 <U00BE>     /xb9         VULGAR FRACTION THREE QUARTERS
 <U00AC>     /xba         NOT SIGN
 <U007C>     /xbb         VERTICAL LINE
-<U203E>     /xbc         OVERLINE
+<U00AF>     /xbc         MACRON
 <U00A8>     /xbd         DIAERESIS
 <U00B4>     /xbe         ACUTE ACCENT
 <U00D7>     /xbf         MULTIPLICATION SIGN