Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 262630 - Last Review: October 15, 2002 - Revision: 1.3
FIX: us-ASCII and ASCII Encoding Are Not Supported in MSXML 2.0
This article was previously published under Q262630
The
us-ASCII and
ASCII encoding formats are not supported in MSXML 2.0. If you attempt to specify the encoding format for an XML document as
us-ASCII or
ASCII in the MSXML 2.0 parser, the following error message is generated:
System does not support the specified encoding.
This has been fixed in the MSXML 2.5 parser, which now supports the
us-ASCII and the
ASCII encoding.
You can obtain this parser by choosing the "Downloads" link on the following Microsoft Web site at:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
- Cut and paste the following code into a text file in Microsoft Notepad and save it as Books.xml:
<?xml version="1.0" encoding="us-ascii"?>
<Books>
<Book>
<ISBN>123-098-0009</ISBN>
<TITLE>XML is Fun</TITLE>
</Book>
</Books>
- Open Books.xml in Microsoft Internet Explorer, and note that the MSXML 2.0 parser generates the error message in the "Symptoms" section earlier in this article.
- Change the encoding to ascii, save Books.xml, and note that when you open it in Internet Explorer you receive the same error message again.
| kbbug kbfix kbmsxmlnosweep KB262630 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate