default encoding

James Clark jjc at
Sat Nov 13 18:09:10 GMT 1999

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


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list