Closed luke-clifton closed 10 months ago
I notice that document also says that we should percent encode non-ASCII.
In order to properly do that, I'd have to confirm which encoding the FilePath
being returned is using. That is going to involve a bit of digging.
Ah, digging went quickly.
It seems this FilePath
is not using the file system encoding (i.e., it's a String
, not a FilePath
).
I'm now trying to find the exact definition of percent encoding in this context, but my internet has decided that 3kb/s is as fast as things are going today :(
@luke-clifton I'd skip percent-encoding at least until we find it used for Excel files, mentioning that in a comment would be enough
Closes #171
I think this is ready.
Great, thanks @luke-clifton ! I'll fix the link in the cabal file and will push 1.1.2 a bit later
It took me a while but 1.1.2 is on Hackage
According to part 2, section 7.3.4 of ECMA-376, when mapping logical item names to ZIP item names we need to remove the leading slash.
http://www.ecma-international.org/publications/standards/Ecma-376.htm