aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-12-07 22:45:37 +0000
committerGuy Harris <guy@alum.mit.edu>2013-12-07 22:45:37 +0000
commit3c2bd00ccf526b9286a518e5c39c7f977f702221 (patch)
treeca1a82addfa733708dddd561fcf568f9f03b5ca4
parentc193f9c9e4bdb581cf43deb6cf1a4c0e61006e1d (diff)
Note what the two new character encoding tables in charsets.c are.
svn path=/trunk/; revision=53833
-rw-r--r--epan/charsets.c6
-rw-r--r--epan/charsets.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/epan/charsets.c b/epan/charsets.c
index cd6cba5034..800b8705aa 100644
--- a/epan/charsets.c
+++ b/epan/charsets.c
@@ -168,6 +168,12 @@ EBCDIC_to_ASCII1(guint8 c)
return EBCDIC_translate_ASCII[c];
}
+/*
+ * Translation tables that map the upper 128 code points in single-byte
+ * "extended ASCII" character encodings to Unicode code points in the
+ * Basic Multilingual Plane.
+ */
+
/* REPLACEMENT CHARACTER */
#define UNREPL 0xFFFD
diff --git a/epan/charsets.h b/epan/charsets.h
index 8f3e8a6c8c..7997ffefa7 100644
--- a/epan/charsets.h
+++ b/epan/charsets.h
@@ -39,6 +39,12 @@ void EBCDIC_to_ASCII(guint8 *buf, guint bytes);
WS_DLL_PUBLIC
guint8 EBCDIC_to_ASCII1(guint8 c);
+/*
+ * Translation tables that map the upper 128 code points in single-byte
+ * "extended ASCII" character encodings to Unicode code points in the
+ * Basic Multilingual Plane.
+ */
+
/* Table for windows-1250 */
extern const gunichar2 charset_table_cp1250[0x80];