HDFGroup / HDFGroup/hdf5

h5dump doesn't display UTF-8 attributes correctly

Open
#4,302 2 comments 1 reaction 2 assignees Assigned to @derobins View on GitHub
Component - Tools
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

I store variable-length UTF8 strings in attributes. Sometimes this includes non-ASCII characters. When I examine the attributes using `h5dump -A`, the single character `Ξ` becomes the 18 characters `\37777777716\37777777636`. This is inconvenient, particularly because my terminal (and all modern ones) supports UTF8 and is perfectly capable of displaying `Ξ`.

It would be convenient if `h5dump` were able to output the UTF8 and let my terminal display it, either as default behaviour or as an option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.