- From: Robert Sayre <sayrer@gmail.com>
- Date: Tue, 13 Jun 2006 15:43:13 -0400
- To: "Mark Nottingham" <mnot@yahoo-inc.com>
- Cc: ietf-http-wg@w3.org
On 6/13/06, Mark Nottingham <mnot@yahoo-inc.com> wrote: > > So... is this an errata? > > Are there cases where having this as a default is actually helpful? > > > However, many, if not all, of the text/* media types define their > > own defaults; text/plain (RFC2046), for example, defaults to ASCII, > > as does text/xml (RFC3023). > > FWIW, Mozilla defaults text/xml to utf-8 (doesn't everyone?), but does actually use ISO-8859-1/CP-1252 as a default if all else fails, including sniffing. See <http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp#831> for the gory details. Other media types try similar things: (this link is slow) <http://landfill.mozilla.org/mxr-test/seamonkey/search?string=AssignLiteral%28%22ISO-8859-1%22> -- Robert Sayre
Received on Tuesday, 13 June 2006 19:43:24 UTC