System.NotSupportedException: Encoding 437 data could not be found (for Xamarin.Mac) #366

Open
opened 2026-01-29 22:10:45 +00:00 by claunia · 0 comments
Owner

Originally created by @kaustubh1994 on GitHub (Aug 21, 2019).

I am using SharpCompress to open archives in a project targeting Xamarin.Mac (and not Xamarin.Forms). However the following exception is being thrown:

System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0023f] in <01bd5f62a4254f5280d3577f58ee50a6>:0
at SharpCompress.Common.ArchiveEncoding..ctor () [0x00006] in <6f462774e7974946823dce93c5ad53fe>:0
at SharpCompress.Common.OptionsBase..ctor () [0x00007] in <6f462774e7974946823dce93c5ad53fe>:0
at SharpCompress.Readers.ReaderOptions..ctor () [0x00000] in <6f462774e7974946823dce93c5ad53fe>:0
at SharpCompress.Archives.ArchiveFactory.Open (System.IO.Stream stream, SharpCompress.Readers.ReaderOptions readerOptions) [0x0002b] in <6f462774e7974946823dce93c5ad53fe>:0

The compile target for my project is a library which will be used by another application.

I am using VS 2017. The Xamarin.Mac version installed is 4.2.1.28 (which cannot be updated due to external dependencies).

Originally created by @kaustubh1994 on GitHub (Aug 21, 2019). I am using SharpCompress to open archives in a project targeting Xamarin.Mac (and not Xamarin.Forms). However the following exception is being thrown: **System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled. at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0023f] in <01bd5f62a4254f5280d3577f58ee50a6>:0 at SharpCompress.Common.ArchiveEncoding..ctor () [0x00006] in <6f462774e7974946823dce93c5ad53fe>:0 at SharpCompress.Common.OptionsBase..ctor () [0x00007] in <6f462774e7974946823dce93c5ad53fe>:0 at SharpCompress.Readers.ReaderOptions..ctor () [0x00000] in <6f462774e7974946823dce93c5ad53fe>:0 at SharpCompress.Archives.ArchiveFactory.Open (System.IO.Stream stream, SharpCompress.Readers.ReaderOptions readerOptions) [0x0002b] in <6f462774e7974946823dce93c5ad53fe>:0** The compile target for my project is a library which will be used by another application. I am using VS 2017. The Xamarin.Mac version installed is 4.2.1.28 (which cannot be updated due to external dependencies).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#366