Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_GET_CSET

# H5T_GET_CSET

The H5T_GET_CSET function returns the character set type of a string datatype.

## Syntax

Result = H5T_GET_CSET(Datatype_id)

## Return Value

Returns a string containing the character set type. Possible values are:

- ‘ASCII’ — US ASCII
- ‘ERROR’

## Arguments

### Datatype_id

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

## Keywords

None

## Version History

5.6 | Introduced