Open edisongustavo opened 7 years ago
For reference, latest thread in HDF5 forum: http://hdf-forum.184993.n3.nabble.com/RFC-PATCH-Windows-Unicode-Filename-support-td4030106.html
We missed this one completely. I would be OK with that patch. Do you want to send a PR? We would need to test the new package against some key downstream dependencies, like h5py
and pytables
for example.
@ocefpaf we have tested this with pytables
, but I suspect it should work with h5py
without any issues as well.
The only problem is that it is backward-incompatible: it will assume paths are given as UTF-8 strings, which will break on Windows for users which are passing file names with the proper encoding.
The only problem is that it is backward-incompatible: it will assume paths are given as UTF-8 strings, which will break on Windows for users which are passing file names with the proper encoding.
That may be problem :-/
To be honest I'm not a Windows user to say what is the best course of action here. I'll ask about this in our next meeting and see what others think.
BTW: our meeting are open to the community, let me know if you two want to pitch that idea yourselves :stuck_out_tongue_winking_eye:
just want to mention that I would be in favor of this patch being part of the recipe
We'll just have to wait for 1.10.6, HDF have already added this feature upstream ;)
https://github.com/live-clones/hdf5/commit/750b5c293076b6a446088fa3020e4e0787d489d7
thanks for this information @tadeu !!
should this be closed with hdf5 1.12
being available?
edit: I guess this should be done once conda-forge has migrated to hdf5 1.12
...
Hello,
The HDF5 library currently does not support filenames with unicode characters. This can be seen on these threads: here and here.
This can be easily done through a patch. At the company that I work for, we have our own patched version of HDF5, but we're moving to conda-forge and we want to contribute it back.
Please ignore references to our issue tracker. The patch we use is this:
Would you be willing to add this to the feedstock? I can contribute it with a PR.