mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
b904ca7ec3
Changed if/else block to switch like in h5ls, and distinguished between ERROR and UNKNOWN. Reviewed by JKM Tested: local linux
28 lines
578 B
SQL
28 lines
578 B
SQL
HDF5 "charsets.h5" {
|
|
GROUP "/" {
|
|
DATASET "CharSets" {
|
|
DATATYPE H5T_COMPOUND {
|
|
H5T_STRING {
|
|
STRSIZE H5T_VARIABLE;
|
|
STRPAD H5T_STR_NULLTERM;
|
|
CSET H5T_CSET_ASCII;
|
|
CTYPE H5T_C_S1;
|
|
} "ascii";
|
|
H5T_STRING {
|
|
STRSIZE H5T_VARIABLE;
|
|
STRPAD H5T_STR_NULLTERM;
|
|
CSET H5T_CSET_UTF8;
|
|
CTYPE H5T_C_S1;
|
|
} "utf8";
|
|
}
|
|
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
|
|
DATA {
|
|
(0): {
|
|
"ascii",
|
|
"utf8"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|