unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* more MIME issues
@ 2005-12-11 12:11 Werner LEMBERG
  2005-12-11 17:33 ` Werner LEMBERG
  0 siblings, 1 reply; 2+ messages in thread
From: Werner LEMBERG @ 2005-12-11 12:11 UTC (permalink / raw)



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'.

If I interpret the code in code-pages.el correctly, the function
`cp-make-coding-system' assigns an incorrect value for `mime-charset',
namely `cp1252'.


    Werner

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: more MIME issues
  2005-12-11 12:11 more MIME issues Werner LEMBERG
@ 2005-12-11 17:33 ` Werner LEMBERG
  0 siblings, 0 replies; 2+ messages in thread
From: Werner LEMBERG @ 2005-12-11 17:33 UTC (permalink / raw)


> 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",		""},

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-11 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-11 12:11 more MIME issues Werner LEMBERG
2005-12-11 17:33 ` Werner LEMBERG

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).