Skip to content

Instantly share code, notes, and snippets.

@pwilken
Last active July 2, 2019 13:01
Show Gist options
  • Save pwilken/778d526aa4813b4017c06ae66a4a11ec to your computer and use it in GitHub Desktop.
Save pwilken/778d526aa4813b4017c06ae66a4a11ec to your computer and use it in GitHub Desktop.
German UTF-8 example. Charset encoding needs to be generated in the Dockerfile.
ENV LANG="de_DE.UTF-8"
ENV LC_COLLATE="de_DE.UTF-8"
ENV LC_CTYPE="de_DE.UTF-8"
ENV LC_MESSAGES="de_DE.UTF-8"
ENV LC_MONETARY="de_DE.UTF-8"
ENV LC_NUMERIC="de_DE.UTF-8"
ENV LC_TIME="de_DE.UTF-8"
RUN locale-gen de_DE.UTF-8
RUN update-locale LANG=de_DE.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment