aboutsummaryrefslogtreecommitdiffstats
path: root/epan/charsets.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-07-27 15:53:22 -0700
committerGuy Harris <guy@alum.mit.edu>2019-07-27 22:56:35 +0000
commit245086eb8382bca3c134a4fd7507c185246127e2 (patch)
treec98aa3acbba0afefeb8a8d90f580ec9c8d787731 /epan/charsets.c
parentcdee223c32be1a48174aa2a0149c8e2d22cc7887 (diff)
HTTPS In Still More Places, update more URLs.
Microsoft reshuffled their documentation - almost all of it moved from msdn.microsoft.com to docs.microsoft.com. Some blogs moved to devblogs.microsoft.com; the comments *didn't* move, so in one case we go to the Wayback Machine - the link isn't dead, but it formats horribly, at least on my browser, but the archived version formats OK. Use the Wayback Machine for some URLs, and update others. Update the sections for MS-ADTS. Point to the HTML versions of some RFCs and I-Ds. Change-Id: I344b20f880de63f1ae2a4e3f9ff98af78a7fe139 Reviewed-on: https://code.wireshark.org/review/34101 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/charsets.c')
-rw-r--r--epan/charsets.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/epan/charsets.c b/epan/charsets.c
index 9441bf336c..eb32e3730f 100644
--- a/epan/charsets.c
+++ b/epan/charsets.c
@@ -24,14 +24,14 @@
#define UNREPL 0xFFFD
/*
- * Wikipedia's "Character encoding" template, giving a pile of character encodings and
- * Wikipedia pages for them:
+ * Wikipedia's "Character encoding" template, giving a pile of character
+ * encodings and Wikipedia pages for them:
*
* http://en.wikipedia.org/wiki/Template:Character_encoding
*
* Unicode character encoding model:
*
- * http://www.unicode.org/reports/tr17/
+ * https://www.unicode.org/reports/tr17/
*
* International Components for Unicode character set mapping tables:
*
@@ -39,7 +39,7 @@
*
* MSDN information on code pages:
*
- * http://msdn.microsoft.com/en-us/library/dd317752(v=VS.85).aspx
+ * https://docs.microsoft.com/en-us/windows/win32/intl/code-pages
*
* ASCII-based code pages, from IBM:
*
@@ -48,6 +48,10 @@
* EBCDIC code pages, from IBM:
*
* http://www-03.ibm.com/systems/i/software/globalization/codepages.html
+ *
+ * The IBM pages are no longer available; the versions archived on the
+ * Wayback Machine are, but the links to the PDF and text versions of
+ * the code pages don't all work (do *any* work?).
*/
/*
@@ -172,7 +176,7 @@ get_8859_1_string(wmem_allocator_t *scope, const guint8 *ptr, gint length)
* Basic Multilingual Plane.
*/
-/* ISO-8859-2 (http://en.wikipedia.org/wiki/ISO/IEC_8859-2#Code_page_layout) */
+/* ISO-8859-2 (https://en.wikipedia.org/wiki/ISO/IEC_8859-2#Code_page_layout) */
const gunichar2 charset_table_iso_8859_2[0x80] = {
0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, /* 0x80 - */
0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, /* - 0x8F */
@@ -232,7 +236,7 @@ const gunichar2 charset_table_iso_8859_4[0x80] = {
0x00f8, 0x0173, 0x00fa, 0x00fb, 0x00fc, 0x0169, 0x016b, 0x02d9, /* - 0xFF */
};
-/* ISO-8859-5 (http://en.wikipedia.org/wiki/ISO/IEC_8859-5#Code_page_layout) */
+/* ISO-8859-5 (https://en.wikipedia.org/wiki/ISO/IEC_8859-5#Code_page_layout) */
const gunichar2 charset_table_iso_8859_5[0x80] = {
0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, /* 0x80 - */
0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, /* - 0x8F */
@@ -312,7 +316,7 @@ const gunichar2 charset_table_iso_8859_8[0x80] = {
0x05e8, 0x05e9, 0x05ea, UNREPL, UNREPL, 0x200e, 0x200f, UNREPL, /* - 0xFF */
};
-/* ISO-8859-9 (http://en.wikipedia.org/wiki/ISO/IEC_8859-9#Code_page_layout) */
+/* ISO-8859-9 (https://en.wikipedia.org/wiki/ISO/IEC_8859-9#Code_page_layout) */
const gunichar2 charset_table_iso_8859_9[0x80] = {
0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, /* 0x80 - */
0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, /* - 0x8F */
@@ -456,7 +460,7 @@ const gunichar2 charset_table_iso_8859_16[0x80] = {
* Windows-1250
*
* See:
- * https://en.wikipedia.org/wiki/Windows-1250)
+ * httpss://en.wikipedia.org/wiki/Windows-1250)
* https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1250.TXT
*/
const gunichar2 charset_table_cp1250[0x80] = {
@@ -1058,7 +1062,7 @@ get_ascii_7bits_string(wmem_allocator_t *scope, const guint8 *ptr,
}
/* ASCII/EBCDIC conversion tables from
- * http://www.room42.com/store/computer_center/code_tables.shtml
+ * https://web.archive.org/web/20060813174742/http://www.room42.com/store/computer_center/code_tables.shtml
*/
#if 0
static const guint8 ASCII_translate_EBCDIC [ 256 ] = {
@@ -1274,7 +1278,7 @@ get_nonascii_unichar2_string(wmem_allocator_t *scope, const guint8 *ptr, gint le
}
/* T.61 to UTF-8 conversion table from OpenLDAP project
- * http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=libraries/libldap/t61.c;hb=HEAD
+ * https://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=libraries/libldap/t61.c;hb=HEAD
*/
static const gunichar2 t61_tab[] = {
0x000, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006, 0x007,