Re: [xml] Adding encoding attribute
- From: Stefan Behnel <stefan_ml behnel de>
- To: Steve Van Esch <svanesch esri com>
- Cc: xml gnome org
- Subject: Re: [xml] Adding encoding attribute
- Date: Wed, 05 Sep 2007 09:47:53 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]