H5Tset_cset
(
hid_t dtype_id
,
H5T_cset_t cset
)
H5Tset_cset
sets the character set to be used.
HDF5 is able to distinguish between character sets of different nationalities and to convert between them to the extent possible. Valid character set types are:
H5T_CSET_ASCII
| (0 )
| Character set is US ASCII. | ||
H5T_CSET_UTF8
| (1 )
| Character set is UTF-8, enabling UTF-8 Unicode encoding. |
hid_t dtype_id |
IN: Identifier of datatype to modify. |
H5T_cset_t cset |
IN: Character set type. |
SUBROUTINE h5tset_cset_f(type_id, cset, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier INTEGER, INTENT(IN) :: cset ! Character set type of a string datatype ! Possible values are: ! H5T_CSET_ASCII_F = 0 ! H5T_CSET_UTF8_F = 1 INTEGER, INTENT(OUT) :: hdferr ! Error code END SUBROUTINE h5tset_cset_f
Release | Change |
1.8.0 | UTF-8 Unicode encoding introduced in this release. |