Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

System.ArgumentException occurred. Message=1 is not a supported code page.

$
0
0

Hi,

we are using sharpZipLib in our application and getting below mentioned exception when set system language to "Hindi(India)".

Your help is really appreciated.

Thanks :)

Here is the stack trace for the same:

System.ArgumentException occurred
  Message=1 is not a supported code page.
Parameter name: codepage
  Source=mscorlib
  ParamName=codepage
  StackTrace:
       at System.Text.Encoding.GetEncoding(Int32 codepage)
       at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToString(Byte[ data, Int32 count)
       at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToStringExt(Int32 flags, Byte[ data, Int32 count)
       at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
       at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(String name)
       at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime)
       at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, String fileFilter)

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles