HDFGroup / hdf5-json

Specification and tools for representing HDF5 in JSON
https://hdf5-json.readthedocs.io
Other
72 stars 25 forks source link

link_name and unicode #33

Closed jreadey closed 2 years ago

jreadey commented 8 years ago

The grammar has this for link_name:

  ascii_string_wo_slash | unicode_string_wo_slash 

What is the intended distinction here? The JSON RFC says that all strings should be in unicode using utf-8.

jreadey commented 8 years ago

This question also applies to creationProperties for attributes (this came up in issue #37). As with link names, I wouldn't think the encoding attribute adds any value.

ajelenak commented 2 years ago

Character encoding information of link or attribute names in HDF5/JSON is important in cases where JSON strings may contain Unicode code points that cannot be encoded in the specified encoding.

Closing this issue since link and attribute name encoding info is supported.