From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: more MIME issues Date: Sun, 11 Dec 2005 18:33:38 +0100 (CET) Message-ID: <20051211.183338.27787282.wl@gnu.org> References: <20051211.131113.168970721.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134326948 32480 80.91.229.2 (11 Dec 2005 18:49:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2005 18:49:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 19:49:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElWDl-0008Nv-7j for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 19:46:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElWED-0000Yp-1L for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 13:47:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElVGs-00033i-Us for emacs-devel@gnu.org; Sun, 11 Dec 2005 12:46:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElVGp-00031T-GK for emacs-devel@gnu.org; Sun, 11 Dec 2005 12:46:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElVGm-000319-KR for emacs-devel@gnu.org; Sun, 11 Dec 2005 12:45:58 -0500 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElVIM-0006jO-G8 for emacs-devel@gnu.org; Sun, 11 Dec 2005 12:47:34 -0500 Original-Received: from [84.175.174.253] (helo=rigel.site) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1ElVGI26BS-0008JG; Sun, 11 Dec 2005 18:45:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by rigel.site (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jBBHXcT5010587 for ; Sun, 11 Dec 2005 18:33:38 +0100 Original-To: emacs-devel@gnu.org In-Reply-To: <20051211.131113.168970721.wl@gnu.org> X-Mailer: Mew version 4.2.54 on Emacs 22.0.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:2dc398bc694a1e60948148ba0a42c0da X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47469 Archived-At: > Looking into > > http://www.iana.org/assignments/character-sets > > I wonder how to support the many MIME aliases. Interestingly, some > MIME tags don't have one, for example `windows-1252'. Below is a list of emacs encodings and corresponding MIME tags. It doesn't include MIME aliases. Hope I got it right :-) Werner ====================================================================== {"alternativnyj", ""}, {"arabic-iso-8bit", "ISO-8859-6"}, {"big5", "Big5"}, {"binary", ""}, {"chinese-big5", "Big5"}, {"chinese-hz", "HZ-GB-2312"}, {"chinese-iso-7bit", "ISO-2022-CN"}, {"chinese-iso-8bit", "GB2312"}, {"chinese-iso-8bit-with-esc", ""}, {"cn-big5", "Big5"}, {"cn-gb", "GB2312"}, {"cn-gb-2312", "GB2312"}, {"compound-text", ""}, {"compound-text-with-extension", ""}, {"cp1125" ""}, {"cp1250" "windows-1250"}, {"cp1251" "windows-1251"}, {"cp1252" "windows-1252"}, {"cp1253" "windows-1253"}, {"cp1254" "windows-1254"}, {"cp1255" "windows-1255"}, {"cp1256" "windows-1256"}, {"cp1257" "windows-1257"}, {"cp1258" "windows-1258"}, {"cp437" "IBM437"}, {"cp720" ""}, {"cp737" ""}, {"cp775" "IBM775"}, {"cp850" "IBM850"}, {"cp851" "IBM851"}, {"cp852" "IBM852"}, {"cp855" "IBM855"}, {"cp857" "IBM857"}, {"cp860" "IBM860"}, {"cp861" "IBM861"}, {"cp862" "IBM862"}, {"cp863" "IBM863"}, {"cp864" "IBM864"}, {"cp865" "IBM865"}, {"cp866" "IBM866"}, {"cp866u" ""}, {"cp869" "IBM869"}, {"cp874" ""}, {"cp878" "KOI8-R"}, {"cp932" "SHIFT_JIS"}, {"cp936" "GB2312"}, {"cp949" "EUC-KR"}, {"cp950" "Big5"}, {"ctext", ""}, {"ctext-no-compositions", ""}, {"ctext-with-extensions", ""}, {"cyrillic-alternativnyj", ""}, {"cyrillic-iso-8bit", "ISO-8859-5"}, {"cyrillic-iso-8bit-with-esc", ""}, {"cyrillic-koi8", "KOI8-R"}, {"cyrillic-koi8-t", ""}, {"devanagari", ""}, {"dos", ""}, {"emacs-mule", ""}, {"euc-china", "GB2312"}, {"euc-cn", "GB2312"}, {"euc-japan", "EUC-JP"}, {"euc-japan-1990", "EUC-JP"}, {"euc-jp", "EUC-JP"}, {"euc-korea", "EUC-KR"}, {"euc-kr", "EUC-KR"}, {"euc-taiwan", ""}, // no MIME tag {"euc-tw", ""}, // no MIME tag {"gb2312", "GB2312"}, {"georgian-ps", ""}, {"greek-iso-8bit", "ISO-8859-7"}, {"greek-iso-8bit-with-esc", ""}, {"hebrew-iso-8bit", "ISO-8859-8"}, {"hebrew-iso-8bit-with-esc", ""}, {"hz", "HZ-GB-2312"}, {"hz-gb-2312", "HZ-GB-2312"}, {"in-is13194", ""}, {"in-is13194-with-esc", ""}, {"iso-2022-7bit", ""}, {"iso-2022-7bit-lock", ""}, {"iso-2022-7bit-lock-ss2", ""}, {"iso-2022-7bit-ss2", ""}, {"iso-2022-8bit-ss2", ""}, {"iso-2022-cjk", ""}, {"iso-2022-cn", "ISO-2022-CN"}, {"iso-2022-cn-ext", "ISO-2022-CN-EXT"}, {"iso-2022-int-1", ""}, {"iso-2022-jp", "ISO-2022-JP"}, {"iso-2022-jp-1978-irv", "ISO-2022-JP"}, {"iso-2022-jp-2", "ISO-2022-JP-2"}, {"iso-2022-kr", "ISO-2022-KR"}, {"iso-8859-1", "ISO-8859-1"}, {"iso-8859-10", "ISO-8859-10"}, {"iso-8859-11", ""}, // no MIME tag {"iso-8859-13", "ISO-8859-13"}, {"iso-8859-14", "ISO-8859-14"}, {"iso-8859-15", "ISO-8859-15"}, {"iso-8859-16", "ISO-8859-16"}, {"iso-8859-2", "ISO-8859-2"}, {"iso-8859-3", "ISO-8859-3"}, {"iso-8859-4", "ISO-8859-4"}, {"iso-8859-5", "ISO-8859-5"}, {"iso-8859-6", "ISO-8859-6"}, {"iso-8859-7", "ISO-8859-7"}, {"iso-8859-8", "ISO-8859-8"}, {"iso-8859-8-e", "ISO-8859-8"}, {"iso-8859-8-i", "ISO-8859-8"}, {"iso-8859-9", "ISO-8859-9"}, {"iso-latin-1", "ISO-8859-1"}, {"iso-latin-10", "ISO-8859-16"}, {"iso-latin-1-with-esc", ""}, {"iso-latin-2", "ISO-8859-2"}, {"iso-latin-2-with-esc", ""}, {"iso-latin-3", "ISO-8859-3"}, {"iso-latin-3-with-esc", ""}, {"iso-latin-4", "ISO-8859-4"}, {"iso-latin-4-with-esc", ""}, {"iso-latin-5", "ISO-8859-9"}, {"iso-latin-5-with-esc", ""}, {"iso-latin-6", "ISO-8859-10"}, {"iso-latin-7", "ISO-8859-13"}, {"iso-latin-8", "ISO-8859-14"}, {"iso-latin-9", "ISO-8859-15"}, {"iso-safe", ""}, {"japanese-iso-7bit-1978-irv", "ISO-2022-JP"}, {"japanese-iso-8bit", "EUC-JP"}, {"japanese-iso-8bit-with-esc", ""}, {"japanese-shift-jis", "Shift_JIS"}, {"junet", "ISO-2022-JP"}, {"koi8", "KOI8-R"}, {"koi8-r", "KOI8-R"}, {"koi8-t", ""}, {"koi8-u", "KOI8-U"}, {"korean-iso-7bit-lock", "ISO-2022-KR"}, {"korean-iso-8bit", "EUC-KR"}, {"korean-iso-8bit-with-esc", ""}, {"lao", ""}, {"lao-with-esc", ""}, {"latin-0", "ISO-8859-15"}, {"latin-1", "ISO-8859-1"}, {"latin-10", "ISO-8859-16"}, {"latin-2", "ISO-8859-2"}, {"latin-3", "ISO-8859-3"}, {"latin-4", "ISO-8859-4"}, {"latin-5", "ISO-8859-9"}, {"latin-6", "ISO-8859-10"}, {"latin-7", "ISO-8859-13"}, {"latin-8", "ISO-8859-14"}, {"latin-9", "ISO-8859-15"}, {"mac", ""}, {"mac-roman", "MACINTOSH"}, {"mik", ""}, {"mule-utf-16", "UTF-16"}, {"mule-utf-16be", "UTF-16BE"}, {"mule-utf-16-be", "UTF-16BE"}, {"mule-utf-16be-with-signature", "UTF-16BE"}, {"mule-utf-16le", "UTF-16LE"}, {"mule-utf-16-le", "UTF-16LE"}, {"mule-utf-16le-with-signature", "UTF-16LE"}, {"mule-utf-8", "UTF-8"}, {"next", ""}, {"no-conversion", ""}, {"old-jis", "ISO-2022-JP"}, {"pt154", ""}, {"raw-text", ""}, {"ruscii", ""}, {"shift_jis", "Shift_JIS"}, {"sjis", "Shift_JIS"}, {"tcvn", ""}, {"tcvn-5712", ""}, {"thai-tis620", "TIS-620"}, {"thai-tis620-with-esc", ""}, {"th-tis620", "TIS-620"}, {"tibetan", ""}, {"tibetan-iso-8bit", ""}, {"tibetan-iso-8bit-with-esc", ""}, {"tis-620", "TIS-620"}, {"tis620", "TIS-620"}, {"undecided", ""}, {"unix", ""}, {"us-ascii", "US-ASCII"}, {"utf-16", "UTF-16"}, {"utf-16-be", "UTF-16BE"}, {"utf-16-be-with-signature", "UTF-16BE"}, {"utf-16-le", "UTF-16LE"}, {"utf-16-le-with-signature", "UTF-16LE"}, {"utf-7", "UTF-7"}, {"utf-8", "UTF-8"}, {"vietnamese-tcvn", ""}, {"vietnamese-viqr", "VIQR"}, {"vietnamese-viscii", "VISCII"}, {"vietnamese-vscii", "VISCII"}, {"viqr", "VIQR"}, {"viscii", "VISCII"}, {"vscii", "VSCII"}, {"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"}, {"x-ctext", ""}, {"x-ctext-with-extensions", ""},