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 SayreReceived on Tuesday, 13 June 2006 19:43:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:38:24 GMT