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

Re: Defaul Encoding

  • From: Murata Makoto <mura034@a...>
  • To: xml-dev@l...
  • Date: Fri, 21 Apr 2000 15:46:10 +0900

Re: Defaul Encoding
>if the first line is just
><?xml version = "1.0">
>what does this equate to in terms of encoding ?

If the XML document has a MIME header, the charset parameter 
in the MIME header will determine the encoding.  MIME headers 
are used when documents are delivered by HTTP, SMTP, etc.
More about this issue, see RFC 2376 (XML Media Types)

If the XML document is not associated with a MIME header, the 
document is in UTF-8.  However, when the document actually begins 
with the BOM, the document is in UTF-16.  This is described in 
XML 1.0 (Appendix F).  An up-to-date information is available 
in the official errata list of XML, which is referenced from 
the XML recommendation.

Cheers,

Makoto
 
Internet: mura034@a...
Nifty: VEQ00625

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.