[Home] [By Thread] [By Date] [Recent Entries]

  • From: James Clark <jjc@j...>
  • To: "'xml-dev'" <xml-dev@i...>
  • Date: Sat, 13 Nov 1999 07:40:26 +0700

Tim Bray wrote:
> 
> At 01:50 PM 11/12/99 -0600, Volkmann, Mark wrote:
> >If I start an XML document with
> ><?xml version="1.0"?>
> >what is the default encoding?
> >Is it just determined based on the first four bytes?
> 
> UTF-8 unless otherwise specified. -T.

Or unless the first two bytes are a byte order mark, in which case it is
UTF-16.

James



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member