This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] Add comments to IBM930, 933, 935, 937 and 939 encodings.


I had the occurrence to need to lookup these encodings to see what character
sets they included and what purposes they served. So as not to have to repeat
this again I'm adding a code comment to each file to comment on the intended
use of the encoding by IBM.

Committed.

Cheers,
Carlos.

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.

diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c
index 91327f1..535d81f 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 d1f3f05..86096c7 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 afb3449..5af836a 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 744f32f..6fe5b11 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 3b189dd..c4bf3f2 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]