shithub: riscv

Download patch

ref: dbaea2b342c2e87f13239d1f4240c7919a8184c8
parent: a31e4f61a4c9afb9696a7ff4ff09e02b3281a2f3
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Mon Sep 19 20:55:06 EDT 2011

mothra: remove old tcs stuff, as we use uhtml now

--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -6,7 +6,6 @@
 #include "mothra.h"
 #include "html.h"
 #include "rtext.h"
-#include "tcs.h"
 
 typedef struct Fontdata Fontdata;
 struct Fontdata{
--- a/sys/src/cmd/mothra/tcs.h
+++ /dev/null
@@ -1,172 +1,0 @@
-/* mapping from web charset to tcs */
-char *tcs[] ={
-"iso_8859-1:1987", "8859-1",
-"iso-ir-100", "8859-1",
-"iso_8859-1", "8859-1",
-"iso-8859-1", "8859-1",
-"latin1", "8859-1",
-"l1", "8859-1",
-"ibm819", "8859-1",
-"cp819", "8859-1",
-"csisolatin1", "8859-1",
-"iso_8859-2:1987", "8859-2",
-"iso-ir-101", "8859-2",
-"iso_8859-2", "8859-2",
-"iso-8859-2", "8859-2",
-"latin2", "8859-2",
-"l2", "8859-2",
-"csisolatin2", "8859-2",
-"iso_8859-3:1988", "8859-3",
-"iso-ir-109", "8859-3",
-"iso_8859-3", "8859-3",
-"iso-8859-3", "8859-3",
-"latin3", "8859-3",
-"l3", "8859-3",
-"csisolatin3", "8859-3",
-"iso_8859-4:1988", "8859-4",
-"iso-ir-110", "8859-4",
-"iso_8859-4", "8859-4",
-"iso-8859-4", "8859-4",
-"latin4", "8859-4",
-"l4", "8859-4",
-"csisolatin4", "8859-4",
-"iso_8859-5:1988", "8859-5",
-"iso-ir-144", "8859-5",
-"iso_8859-5", "8859-5",
-"iso-8859-5", "8859-5",
-"cyrillic", "8859-5",
-"csisolatincyrillic", "8859-5",
-"iso_8859-6:1987", "8859-6",
-"iso-ir-127", "8859-6",
-"iso_8859-6", "8859-6",
-"iso-8859-6", "8859-6",
-"ecma-114", "8859-6",
-"asmo-708", "8859-6",
-"arabic", "8859-6",
-"csisolatinarabic", "8859-6",
-"iso_8859-7:1987", "8859-7",
-"iso-ir-126", "8859-7",
-"iso_8859-7", "8859-7",
-"iso-8859-7", "8859-7",
-"elot_928", "8859-7",
-"ecma-118", "8859-7",
-"greek", "8859-7",
-"greek8", "8859-7",
-"csisolatingreek", "8859-7",
-"iso_8859-8:1988", "8859-8",
-"iso-ir-138", "8859-8",
-"iso_8859-8", "8859-8",
-"iso-8859-8", "8859-8",
-"hebrew", "8859-8",
-"csisolatinhebrew", "8859-8",
-"iso_8859-9:1989", "8859-9",
-"iso-ir-148", "8859-9",
-"iso_8859-9", "8859-9",
-"iso-8859-9", "8859-9",
-"latin5", "8859-9",
-"l5", "8859-9",
-"csisolatin5", "8859-9",
-"iso-8859-15", "8859-15",
-"iso_8859-15", "8859-15",
-"latin-9", "8859-15",
-"ansi_x3.4-1968", "ascii",
-"iso-ir-6", "ascii",
-"ansi_x3.4-1986", "ascii",
-"iso_646.irv:1991", "ascii",
-"ascii", "ascii",
-"iso646-us", "ascii",
-"us-ascii", "ascii",
-"us", "ascii",
-"ibm367", "ascii",
-"cp367", "ascii",
-"csascii", "ascii",
-"big5", "big5",
-"csbig5", "big5",
-"ibm437", "ibm437",
-"cp437", "ibm437",
-"437", "ibm437",
-"cspc8codepage437", "ibm437",
-"ibm850", "ibm850",
-"cp850", "ibm850",
-"850", "ibm850",
-"cspc850multilingual", "ibm850",
-"ibm852", "ibm852",
-"cp852", "ibm852",
-"852", "ibm852",
-"cspcp852", "ibm852",
-"ibm855", "ibm855",
-"cp855", "ibm855",
-"855", "ibm855",
-"csibm855", "ibm855",
-"ibm857", "ibm857",
-"cp857", "ibm857",
-"857", "ibm857",
-"csibm857", "ibm857",
-"ibm862", "ibm862",
-"cp862", "ibm862",
-"862", "ibm862",
-"cspc862latinhebrew", "ibm862",
-"ibm866", "ibm866",
-"cp866", "ibm866",
-"866", "ibm866",
-"csibm866", "ibm866",
-"windows-1250", "windows-1250",
-"windows-1251", "windows-1251",
-"windows-1252", "windows-1252",
-"windows-1253", "windows-1253",
-"windows-1254", "windows-1254",
-"windows-1255", "windows-1255",
-"windows-1256", "windows-1256",
-"windows-1257", "windows-1257",
-"windows-1258", "windows-1258",
-"ks_c_5601-1987", "euc-k",
-"iso-ir-149", "euc-k",
-"ks_c_5601-1989", "euc-k",
-"ksc_5601", "euc-k",
-"korean", "euc-k",
-"csksc56011987", "euc-k",
-"euc-kr", "euc-k",
-"cseuckr", "euc-k",
-"gb2312", "gb",
-"gbk", "gbk",
-"csgb2312", "gb",
-"gb_2312-80", "gb",
-"iso-ir-58", "gb",
-"chinese", "gb",
-"csiso58gb231280", "gb",
-"iso-2022-jp", "jis-kanji",
-"csiso2022jp", "jis-kanji",
-"koi8-r", "koi8",
-"cskoi8r", "koi8",
-"macintosh", "macrom",
-"mac", "macrom",
-"csmacintosh", "macrom",
-"ibm865", "msdos2",
-"cp865", "msdos2",
-"865", "msdos2",
-"csibm865", "msdos2",
-"shift_jis", "ms-kanji",
-"ms_kanji", "ms-kanji",
-"csshiftjis", "ms-kanji",
-"sen_850200_b", "sf1",
-"iso-ir-10", "sf1",
-"fi", "sf1",
-"iso646-fi", "sf1",
-"iso646-se", "sf1",
-"se", "sf1",
-"csiso10swedish", "sf1",
-"sen_850200_c", "sf2",
-"iso-ir-11", "sf2",
-"iso646-se2", "sf2",
-"se2", "sf2",
-"csiso11swedishfornames", "sf2",
-"tis-620", "tis",
-"extended_unix_code_packed_format_for_japanese", "ujis",
-"cseucpkdfmtjapanese", "ujis",
-"euc-jp", "ujis",
-"iso-10646-utf-1", "utf1",
-"csiso10646utf1", "utf1",
-"viscii", "viscii",
-"csviscii", "viscii",
-nil, nil,
-};