diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-05-23 18:20:07 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-05-23 18:20:07 (GMT) |
commit | 985af5617fe40c9a6e9a0083dc889e56a7add362 (patch) | |
tree | cc6bb4e196fd7502ad4f563793d370e322bea4d2 /tools/h5ls/h5ls.c | |
parent | edecc60b50455a42102cee189ccdac5c1bc2104e (diff) | |
download | hdf5-985af5617fe40c9a6e9a0083dc889e56a7add362.zip hdf5-985af5617fe40c9a6e9a0083dc889e56a7add362.tar.gz hdf5-985af5617fe40c9a6e9a0083dc889e56a7add362.tar.bz2 |
[svn-r10785] Purpose:
Feature
Description:
Added "support" for UTF-8 character encoding.
Solution:
Wrote tests to check that UTF-8 can be used in a number of places in
HDF5 (object names, data, etc.). These tests live in test/tunicode.c.
Added a new UTF-8 character encoding for datatypes.
Platforms tested:
mir, modi4, heping
Misc. update:
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
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: |