public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290]
@ 2018-06-14 19:11 Florian Weimer
  2018-06-14 19:37 ` Carlos O'Donell
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2018-06-14 19:11 UTC (permalink / raw)
  To: libc-alpha

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.

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 <ibm273.h>
 
 #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
 <U00BE>     /xb9         VULGAR FRACTION THREE QUARTERS
 <U00AC>     /xba         NOT SIGN
 <U007C>     /xbb         VERTICAL LINE
-<U203E>     /xbc         OVERLINE
+<U00AF>     /xbc         OVERLINE
 <U00A8>     /xbd         DIAERESIS
 <U00B4>     /xbe         ACUTE ACCENT
 <U00D7>     /xbf         MULTIPLICATION SIGN

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-14 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14 19:11 [PATCH] localedata: Make IBM273 compatible with ISO-8859-1 [BZ #23290] Florian Weimer
2018-06-14 19:37 ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).