Microsoft Knowledge Base Email Alertz

The

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

On This Page

SYMPTOMS

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.

RESOLUTION

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:
http://msdn.microsoft.com/xml/default.asp (http://msdn.microsoft.com/xml/default.asp)

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. 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>
    					
  2. 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.
  3. 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.

APPLIES TO
  • Microsoft XML Parser 2.0
Keywords: 
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