[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [Summary] Why is Encoding Metadata (e.g. encoding="UTF-8") put Inside the XML Document?
- From: richard@inf.ed.ac.uk (Richard Tobin)
- To: xml-dev@lists.xml.org
- Date: Thu, 20 Sep 2007 19:13:09 +0100 (BST)
In article <007c01c7fbae$bcb6b400$59fea8c0@turtle> you write:
>> Are there any encodings that have the same encoding of <?xml
>> but completely different encodings for other characters?
>Yes. For example iso-8859-1 and iso-8859-2.
What there aren't (as far as I know) are any encoding that are the
same for <?xml but different for other characters that might appear in
an XML declaration (which is why XML 1.1 doesn't allow the non-ascii
whitespace characters #x85 and #x2028 in the XML declaration, even
though they are normally converted to linefeed). Encoding names can
only contain ASCII letters, digits and a few other characters.
-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]