H5Pset_char_encoding

fnherr_t H5Pset_char_encoding(hid_t plist_id, int encoding)

Sets the character encoding for string creation.

Parameters

plist_idProperty list identifier (link creation, attribute creation, etc.)
encodingCharacter encoding (H5T_CSET)

Returns

Non-negative on success, negative on failure.