aboutsummaryrefslogtreecommitdiffstats
path: root/epan/charsets.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-12-08 01:05:35 +0000
committerGuy Harris <guy@alum.mit.edu>2013-12-08 01:05:35 +0000
commit562348fbb823bd8ea67e62e45f83db86904b01cf (patch)
tree720f3fccf07fcd9af7124afc87acb1c302b13205 /epan/charsets.c
parent0f05597ab17ea7fc5161458c670f56a523cb9c42 (diff)
Add ENC_ISO_8859_1.
Move the Wikipedia links for the code page layouts in front of the tables whose contents reflect the code page layouts. svn path=/trunk/; revision=53837
Diffstat (limited to 'epan/charsets.c')
-rw-r--r--epan/charsets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/charsets.c b/epan/charsets.c
index 800b8705aa..dd13ca1217 100644
--- a/epan/charsets.c
+++ b/epan/charsets.c
@@ -178,6 +178,7 @@ EBCDIC_to_ASCII1(guint8 c)
#define UNREPL 0xFFFD
/* ISO-8859-2 */
+/* http://en.wikipedia.org/wiki/ISO/IEC_8859-2#Code_page_layout */
const gunichar2 charset_table_iso_8859_2[0x80] = {
UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, /* 0x80 - */
UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, UNREPL, /* - 0x8F */
@@ -198,6 +199,7 @@ const gunichar2 charset_table_iso_8859_2[0x80] = {
};
/* Windows-1250 */
+/* http://en.wikipedia.org/wiki/Windows-1250 */
const gunichar2 charset_table_cp1250[0x80] = {
0x20ac, UNREPL, 0x201a, UNREPL, 0x201e, 0x2026, 0x2020, 0x2021, /* 0x80 - */
UNREPL, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179, /* - 0x8F */