Microsoft Knowledge Base Email Alertz

Applications that are built with the Base Class Libraries that use

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: 308094 - Last Review: February 23, 2007 - Revision: 4.3

BUG: GetEncoding Does Not Support 50229

This article was previously published under Q308094
The following .NET Framework Class Library namespaces are referenced in this article:
  • System.Text

SYMPTOMS

Applications that are built with the Base Class Libraries that use GetEncoding on Code Page 50229 or Encoding Name ENC50229 may generate an exception error.

GetEncoding has two overloaded methods: one accepts an integer value and one accepts a string value. Calls to the GetEncoding method with a string value of "ENC50229" result in the following exception error message:
'An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll

'Additional information: enc50229 is not a supported encoding name.
Calling the GetEncoding method with an integer value of 50229 results in the following exception error message:
'An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll

'Additional information: The ISO-2022-CN Encoding (Codepage 50229) is not supported.An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll

'Additional information: The ISO-2022-CN Encoding (Codepage 50229) is not supported.

CAUSE

GetEncoding 50229 is not supported in the current version of the Common Language Runtime.

STATUS

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

MORE INFORMATION

Proper support of this encoding requires the implementation of specialized features that are not used by any other supported encoding. Because this encoding is rarely used, support for it is not available in this version.

APPLIES TO
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework Class Libraries 1.1
  • Microsoft .NET Framework Class Libraries 1.0
Keywords: 
kbbug kbfix kbreadme KB308094
       

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