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.