summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r--tools/h5ls/h5ls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index d10e0d5..8485821 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -904,7 +904,9 @@ display_string_type(hid_t type, int UNUSED ind)
case H5T_CSET_ASCII:
cset_s = "ASCII";
break;
- case H5T_CSET_RESERVED_1:
+ case H5T_CSET_UTF8:
+ cset_s = "UTF-8";
+ break;
case H5T_CSET_RESERVED_2:
case H5T_CSET_RESERVED_3:
case H5T_CSET_RESERVED_4: