[Mono-list] CodePage 1251 not supported

Robert Jordan robertj at gmx.net
Wed Oct 17 06:51:35 EDT 2007


Алексей А. Перминов wrote:
> Hi.
> I would like to use encoding windows-1251, but when running:
> Console.WriteLine (Encoding.GetEncoding
> (1251).GetType().Assembly.CodeBase),  the error:
> System.NotSupportedException: CodePage 1251 not supported. this can be
> remedied? 

This CP is definitely supported, so you probably missed to install
Mono's i18n assemblies. It could be a package of its own on your
distro.

You can verify this with

	gacutil -l | grep I18N.Other

Robert



More information about the Mono-list mailing list