Steve Van Esch wrote:
> Another beginner question I’m sure.  I can’t figure out how to add an
> encoding attribute to the document.
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> 
> I only have the following:
> 
> <?xml version="1.0"?>

That's because saying encoding="UTF-8" is redundant as it is the default given
by the XML spec anyway. Any XML parser would handle both of the above in
exactly the same way (otherwise it's not an XML parser).

Stefan
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to