Retrieve or set the character set to be used in a string datatype.

H5Tset_cset(dtype_id, cset = "ASCII")

H5Tget_cset(dtype_id)

Arguments

dtype_id

ID of HDF5 datatype to query or modify.

cset

Encoding to use for string types. Valid options are 'ASCII' and 'UTF-8'.