I need Encoding implementation of some codepage in my Silverlight app. Particularly I need to read non-Engligh file names from zip-archive (being opened Application.GetResourceStream).
Silverlight contains only Unicode encodings (Encoding.UTF8, Encoding.Unicode, Encoding.BigEndianUnicode). Encoding.GetEncoding throws exception for other encoding names.
But I need Encoding class implementation for some ANSI codepage (866 particularly). On desktop I'd get it via Encoding.GetEncoding(866).
Where can I get the simplest implementation?
p.s. I understand that the question hardly relates Silverlight, but without mentioning it I'll be suggested to use Encoding.GetEncoding I guess..