The H5T_GET_CSET function returns the encoding type of a string datatype. The H5T_SET_CSET procedure can be used to set the encoding type.

Syntax


Result = H5T_GET_CSET(Datatype_id)

Return Value


Returns a string containing the encoding type. Possible values are:

  • 'ASCII' - US ASCII encoding
  • 'UTF8' - UTF-8 encoding
  • 'ERROR' - The Datatype_id is invalid or is not a datatype id.

Arguments


Datatype_id

An integer representing the datatype's identifier to be queried.

Keywords


None

Version History


5.6

Introduced

See Also


H5T_SET_CSET, H5T_IDL_CREATE