Extend CP1255 mapping.
diff --git a/ChangeLog b/ChangeLog
index 1a243c2..9305b4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-10-04 Bruno Haible <bruno@clisp.org>
+
+ Extend CP1255 mapping.
+ * lib/cp1255.h (cp1255_2uni, cp1255_page05): Map 0xCA to U+05BA.
+ * tests/CP1255.TXT: Likewise.
+ This matches http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1255.txt
+ and what the native Windows converter does since at least Windows XP.
+
2016-10-01 Ben Noordhuis <info@bnoordhuis.nl> (tiny change)
Bruno Haible <bruno@clisp.org>
diff --git a/NEWS b/NEWS
index 238f2a3..ec8ef62 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
New in 1.15:
* Added ISO-2022-JP-MS converter.
+* Updated the CP1255 converter to map one more character.
New in 1.14:
* The 'iconv' program now produces its output as soon as it can. It no longer
diff --git a/lib/cp1255.h b/lib/cp1255.h
index 50a9558..e53514d 100644
--- a/lib/cp1255.h
+++ b/lib/cp1255.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1999-2001, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 1999-2001, 2004, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
@@ -152,7 +152,7 @@
0x00b8, 0x00b9, 0x00f7, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,
/* 0xc0 */
0x05b0, 0x05b1, 0x05b2, 0x05b3, 0x05b4, 0x05b5, 0x05b6, 0x05b7,
- 0x05b8, 0x05b9, 0xfffd, 0x05bb, 0x05bc, 0x05bd, 0x05be, 0x05bf,
+ 0x05b8, 0x05b9, 0x05ba, 0x05bb, 0x05bc, 0x05bd, 0x05be, 0x05bf,
/* 0xd0 */
0x05c0, 0x05c1, 0x05c2, 0x05c3, 0x05f0, 0x05f1, 0x05f2, 0x05f3,
0x05f4, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd,
@@ -275,7 +275,7 @@
};
static const unsigned char cp1255_page05[72] = {
0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 0xb0-0xb7 */
- 0xc8, 0xc9, 0x00, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xb8-0xbf */
+ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* 0xb8-0xbf */
0xd0, 0xd1, 0xd2, 0xd3, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc8-0xcf */
0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, /* 0xd0-0xd7 */
diff --git a/tests/CP1255.TXT b/tests/CP1255.TXT
index d02496c..505adad 100644
--- a/tests/CP1255.TXT
+++ b/tests/CP1255.TXT
@@ -188,6 +188,7 @@
0xC7 0x05B7
0xC8 0x05B8
0xC9 0x05B9
+0xCA 0x05BA
0xCB 0x05BB
0xCC 0x05BC
0xCD 0x05BD