Skip to content

Converter should not require local locale settings  #64

Description

@chad-earthscope

The converter requires being executed in a locale of C (or en_US.UTF-8 seems to work also):
https://github.com/iris-edu/stationxml-seed-converter#system-language-requirments

This effects the conversion between two formats, the encodings of which the user has no control over. Since the formats are fixed to specific encoding and number usage it makes sense to treat them as such in the converter, whatever the caller's locale is should not matter.

P.S. For this converter, where a users locale makes sense would be on input, like command line parameters. But I don't see any that take numbers and text should be assumed to be UTF-8.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions