Re: UTF-16 and MIME text/*

Bjoern Hoehrmann scripsit:

>    RFC 2871 registers all UTF-16 charsets (UTF-16BE, UTF-16LE and
> UTF-16) as not suitable for use in MIME content types under the
> "text" top-level type. Why?

Because a MIME processor, when encountering something of type text/*,
is allowed to assume that any 0x0A byte means "LF" and any 0x0D byte means "CR",
and to transmute them to some other kind of line ending.  UTF-16
of whatever flavor violates this rule.

-- 
John Cowan                                   cowan@ccil.org
One art/there is/no less/no more/All things/to do/with sparks/galore
	--Douglas Hofstadter

Received on Wednesday, 23 May 2001 07:46:10 UTC