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

  • From: richard@i... (Richard Tobin)
  • To: xml-dev@l...
  • 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]


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