Skip to content

Clarify assumptions on character encoding in the pynxtools/NeXus/HDF ecosystem #705

@mkuehbach

Description

@mkuehbach

Plugins in and pynxtools use YAML and HDF5 and python libraries to interact with these technologies. What happens if users write strings, i.e. NeXus NX_CHAR characters using characters that are not part of ASCII or UTF8?. We have in various places decoding assumptions made like decode("utf8") but if these raise UnicodeConversion errors need to be catched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions