Hi, I try to set the character set for my attributes in java to UTF-8. The encoding in ASCII seems correct with : H5.H5Tset_cset(tid, HDF5Constants.H5T_CSET_ASCII); For the UTF-8, unfortunately the constant HDF5Constants.H5T_CSET_UTF8 is not defined.
http://www.hdfgroup.org/hdf-java-html/javadocs/ncsa/hdf/hdf5lib/HDF5Constants.html#H5T_CSET_ASCII The UTF-8 Unicode encoding is available in the C API : http://www.hdfgroup.org/HDF5/doc/RM/H5T/H5Tset_cset.htm Is there a way to create a string attribute with UTF-8 encoding in java ? Thank you Guillaume _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
