Eliminate use of IBM437 encoding in EPPlus.
IBM437 is the standard character encoding used by MS-DOS, and is the
de-facto "default" encoding for filenames in ZIP files. It is ASCII
compatible for all 7-bit ASCII characters.
Unfortunately, .NET Core does not support IBM437 by default; it
requires an additional NuGet package and a static method call to
register the obsolete encodings. We do not do this consistently, nor
does EPPlus.
Fortunately, we are only parsing OOXML packages (which are specialized
ZIP files), not general-purpose ZIP files. The OOXML standard
(ECMA-376) part 2 section 7.3.4 states that every non-ASCII character
in an OOXML part name (ZIP filename) must be percent encoded.
Therefore, file names in OOXML packages (ZIP files) only contain ASCII
characters and support for IBM437 is not required.
Change-Id: Ic652ded98476aaa662fefb3ec9ed4b73ec195315
6 files changed