# Data encoding in hdf5.jl

**URL:** <https://discourse.julialang.org/t/data-encoding-in-hdf5-jl/76357>\
**Category:** General Usage\
**Tags:** question, package, hdf5\
**Created:** [February 13, 2022, 4:42pm UTC](https://discourse.julialang.org/t/data-encoding-in-hdf5-jl/76357 "2022-02-13T16:42:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RodrigoBruni](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rodrigobruni/32/33782_2.png) [@RodrigoBruni](https://discourse.julialang.org/u/RodrigoBruni)\
**Post date:** [February 13, 2022, 4:42pm UTC](https://discourse.julialang.org/t/data-encoding-in-hdf5-jl/76357/1 "2022-02-13T16:42:31Z")

</div>

Hi all,

I have a tiny question involving hdf5.jl package. To be more specific, consider the following info related to a given .h5 file:

```
 DATASET "j" {
      
    DATATYPE H5T_STD_I64LE
      DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
        DATA {
        (0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
        }
           ATTRIBUTE "CLASS" {
               DATATYPE H5T_STRING {
                   STRSIZE 15;
                   STRPAD H5T_STR_NULLTERM;
                   CSET H5T_CSET_UTF8;
                   CTYPE H5T_C_S1;
                }
             ....
            }
 }

```

My question is: Is there any command within the hdf5.jl package that allows me to change from " CSET H5T\_CSET\_UTF8" to " CSET H5T\_CSET\_ASCII" in the ATTRIBUTE “CLASS” block?

Thanks in advance!
