HDFGroup / hdf5-json

Specification and tools for representing HDF5 in JSON
https://support.hdfgroup.org/documentation/hdf5-json/latest/
Other
73 stars 25 forks source link

UTF8 Strings not being converted correctly #25

Closed jreadey closed 9 years ago

jreadey commented 9 years ago

UTF8 strings get converted to ASCII.

gheber commented 9 years ago

What do you mean? ASCII is a subset of UTF-8. Do you mean non-ASCII characters are not rendered correctly?

jreadey commented 9 years ago

I mean that UTF-8 strings are getting corrupted when saved to hdf5.

jreadey commented 9 years ago

Fixed with commit: 50a39da26423f6f463db5bf44afafb899c8b25fb. See test case hdf5dbTest.testWriteUnicodeAttribute