mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 21:26:07 +00:00
Encoding 437 data could not be found #345
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Merglasch on GitHub (Mar 17, 2019).
Got this error when using the library in a Unity Windows Standalone build with mono and l2cpp. Using the library in the editor works without problems.
Error desc.:
(Filename: currently not available on il2cpp Line: -1)
Could this be the same error as in #405 ? I thought this was fixed with version 0.23?
@adamhathcock commented on GitHub (Mar 18, 2019):
Looks like the same issue. A fix is here:
https://github.com/adamhathcock/sharpcompress/issues/405#issuecomment-470327832
The issue looks like Unity doesn't quite implement .NET Standard 1.3 or 2.0:
https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Common/ArchiveEncoding.cs#L31
@Merglasch commented on GitHub (Mar 19, 2019):
I think I see another cause of the problem now. The directives are different. Unity defines NET_STANDARD_2_0 instead of NETSTANDARD2_0. (Source: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html). Any chance you could check against that as well or should that be irrelevant?
@adamhathcock commented on GitHub (Mar 19, 2019):
I don't think that will help. My DLL is already compiled.
The reference to the specific version of SharpCompress is what matters. The .NET Standard 1.3 and 2 versions will have this compiled in. The only version that won't look up via that method is .NET Standard 1.0
A brief google search found a similar answer to what was suggested for unity on the other issue:
https://answers.unity.com/questions/42955/codepage-1252-not-supported-works-in-editor-but-no.html
@adamhathcock commented on GitHub (Aug 21, 2019):
Maybe https://stackoverflow.com/questions/38160192/mono-cannot-load-encoding-437#43532921
#473
@adamhathcock commented on GitHub (Jul 26, 2020):
New release https://www.nuget.org/packages/sharpcompress/0.26.0 should fix this