Skip to content

Conversation

@gordon-to
Copy link

@gordon-to gordon-to commented Mar 7, 2019

Fixes issues when working with utf-8 text from the command line

close #83

Fixes issues when working with utf-8 text from the command line
@kylecarbs kylecarbs requested review from nhooyr and removed request for code-asher and kylecarbs March 7, 2019 17:09
Copy link
Contributor

@nhooyr nhooyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate the fix, thanks.

RUN apt-get install -y openssl
RUN apt-get install -y net-tools
RUN apt-get install -y locales
RUN locale-gen en_US.UTF-8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also need

# We unfortunately cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LANG=en_US.UTF-8

@nhooyr
Copy link
Contributor

nhooyr commented Mar 7, 2019

If you don't mind, I'll take this over to get this out quicker. Will credit you in my PR.

@nhooyr nhooyr closed this in #98 Mar 7, 2019
code-asher pushed a commit that referenced this pull request Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Locales are not available in local docker image

2 participants