[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Text/xml with omitted charset parameter

  • From: Bjoern Hoehrmann <derhoermi@g...>
  • To: MURATA Makoto <EB2M-MRT@a...>
  • Date: Sun, 28 Oct 2001 10:14:46 +0100

charset xml
* MURATA Makoto wrote:
>>Perhaps worse yet, since the default for text/xml is us-ascii and not
>>utf-8, this means that serving an XML document using any non-ASCII
>>characters over HTTP requires the author to set the charset parameter
>>of the MIME media type. This is non-trivial in most environments and
>>impossible in many. According to RFC 3023, "US-ASCII was chosen, since
>>it is the intersection of UTF-8 and ISO-8859-1 and since it is already
>>used by MIME." However, this really strikes me as insufficient
>>justification given the major practical problems it presents for
>>non-ASCII documents. Is there any chance of superseding this RFC with
>>one that specifies UTF-8? This still isn't perfect, but it at least
>>allows full use of Unicode.
>
>No, there are absolutely no chances for such a change.  Such changes 
>have been tried and failed.  MIME people will never agree to change 
>the default.

  * HTML requires user agents to assume no default encoding
  * HTTP requires user agents to assume iso-8859-1
  * MIME requires user agents to assume us-ascii
  * XML requires user agents to assume us-ascii

Obviously, this is a very strict community...

XML does not need to change MIME, XML can just go and mandate UTF-8
defaulting from XML processors. Mandating UTF-8 is as inconsistent with
HTTP as is mandating us-ascii. And who cares about consistency? Look at
HTML, it forbids any defaulting behaivour, but allows user agents to use
heuristics to determine the encoding. Welcome to the wonderful world
of nonsense.

>So many e-mail programs use the charset parameter to display MIME entities 
>labelled as text/*.  If the charset parameter is absent, such programs will 
>assume that the MIME entity is us-ascii.  This change will invaliate such 
>programs.

Sorry, seems I've missed Outlook Express users complaining their XML
mails do not display properly...
-- 
Björn Höhrmann { mailto:bjoern@h... } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.