Skip to content

Locale independence #27

Description

@stuartpb

Setting LC_ALL=C

See http://unix.stackexchange.com/questions/87745/what-does-lc-all-c-do

If you don't set LC_ALL=C for, say, sorting a list of numbers from a container/network source, it's going to be dependent on the system locale. That's a problem, if, say, that system's locale is designed for using commas as the decimal separator rather than dots.

Even if you're managing the environment in a container, make sure that the default locale in that container's environment is LC_ALL=C, rather than something like en_US.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions