Open cerisola opened 2 years ago
After digging into the source of the library to try to find the cause of this issue, I am now pretty sure the problem lies within the ZipFile.jl library that NPZ.jl uses to create the zip file. I have now created an issue for the ZipFile.jl project (see fhs/ZipFile.jl#84) to address this problem.
Hi, I am running into issues when using NPZ to create an npz file that uses unicode strings as keys.
Just to be clear, everything works fine when creating the file using Numpy and reading it using NPZ, i.e. this works fine in Python
and reading the file in Julia using NPZ also works as expected
However, if I try creating this file from NPZ, while NPZ can read it as expected, it cannot be properly read by Numpy. Indeed, from the NPZ side:
everything works fine. However, when I try opening the file with Numpy, while it does load it, the keys are not what I would expect:
Indeed if I print the keys of the loaded file I get some different unicode string: