about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-12-02 22:13:47 -0500
committerCarlos O'Donell <carlos@systemhalted.org>2015-12-02 22:13:47 -0500
commit4de3b51e08cd7585926406b06da113d1173075c3 (patch)
treed2f49d42297743934703e69316120c585697dca7
parentd0e3ffb7a58854248f1d5e737610d50cd0a60f46 (diff)
downloadglibc-4de3b51e08cd7585926406b06da113d1173075c3.tar.gz
glibc-4de3b51e08cd7585926406b06da113d1173075c3.tar.xz
glibc-4de3b51e08cd7585926406b06da113d1173075c3.zip
Comment on IBM930, IBM933, IBM935, IBM937, IBM939.
Add comments for IBM930, IBM933, IBM935, IBM937, and IBM939 which
explain exactly what purpose these encodings have and provide a URL to
the upstream IBM database that further provides the details of the
encoding.
-rw-r--r--ChangeLog8
-rw-r--r--iconvdata/ibm930.c5
-rw-r--r--iconvdata/ibm933.c4
-rw-r--r--iconvdata/ibm935.c5
-rw-r--r--iconvdata/ibm937.c5
-rw-r--r--iconvdata/ibm939.c5
6 files changed, 32 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b768cd5ba4..f253bfdcbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-12-02  Carlos O'Donell  <carlos@redhat.com>
+
+	* iconvdata/ibm930.c: Add comment explaining encoding uses.
+	* iconvdata/ibm933.c: Likewise.
+	* iconvdata/ibm935.c: Likewise.
+	* iconvdata/ibm937.c: Likewise.
+	* iconvdata/ibm939.c: Likewise.
+
 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c
index 91327f1e18..535d81fb04 100644
--- a/iconvdata/ibm930.c
+++ b/iconvdata/ibm930.c
@@ -17,6 +17,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* IBM930 is designed for the representation of Japanese Katakana/Kanji
+   using a stateful EBCDIC encoding scheme.  It is also known as
+   CCSID 930 or CP930. See:
+   https://www-01.ibm.com/software/globalization/ccsid/ccsid930.html */
+
 #include <dlfcn.h>
 #include <stdint.h>
 #include <wchar.h>
diff --git a/iconvdata/ibm933.c b/iconvdata/ibm933.c
index d1f3f05296..86096c7b23 100644
--- a/iconvdata/ibm933.c
+++ b/iconvdata/ibm933.c
@@ -17,6 +17,10 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* IBM933 is designed for the representation of Korean using a stateful
+   EBCDIC encoding scheme.  It is also known as CCSID 933 or CP933. See:
+   https://www-01.ibm.com/software/globalization/ccsid/ccsid933.html */
+
 #include <dlfcn.h>
 #include <stdint.h>
 #include <wchar.h>
diff --git a/iconvdata/ibm935.c b/iconvdata/ibm935.c
index afb3449623..5af836adb9 100644
--- a/iconvdata/ibm935.c
+++ b/iconvdata/ibm935.c
@@ -17,6 +17,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* IBM935 is designed for the representation of Simplified Chinese
+   using a stateful EBCDIC encoding scheme.  It is also known as
+   CCSID 935 or CP935. See:
+   https://www-01.ibm.com/software/globalization/ccsid/ccsid935.html  */
+
 #include <dlfcn.h>
 #include <stdint.h>
 #include <wchar.h>
diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c
index 744f32fded..6fe5b11316 100644
--- a/iconvdata/ibm937.c
+++ b/iconvdata/ibm937.c
@@ -17,6 +17,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* IBM937 is designed for the representation of Traditional Chinese
+   using a stateful EBCDIC encoding scheme.  It is also known as
+   CCSID 937 or CP937. See:
+   https://www-01.ibm.com/software/globalization/ccsid/ccsid937.html */
+
 #include <dlfcn.h>
 #include <stdint.h>
 #include <wchar.h>
diff --git a/iconvdata/ibm939.c b/iconvdata/ibm939.c
index 3b189ddbfd..c4bf3f268c 100644
--- a/iconvdata/ibm939.c
+++ b/iconvdata/ibm939.c
@@ -17,6 +17,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* IBM939 is designed for the representation of Japanese Latin/Kanji
+   using a stateful EBCDIC encoding scheme.  It is also known as
+   CCSID 939 or CP939. See:
+   https://www-01.ibm.com/software/globalization/ccsid/ccsid939.html */
+
 #include <dlfcn.h>
 #include <stdint.h>
 #include <wchar.h>