From 8a4e14a00df45944004b5be60c00fe064f72c045 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Thu, 8 Oct 2015 00:35:59 -0400 Subject: [PATCH] Dockerfile: Set the python encoding to UTF-8. This is more of a python2 issue. In python3, *I believe* this is default. This comes up mainly when not using a TTY where stdout can have a determined encoding. See for more details ( ). --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 55e1a7314..9bf4b30ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ MAINTAINER Project Jupyter ENV LANGUAGE en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 +ENV PYTHONIOENCODING UTF-8 # Python binary and source dependencies RUN apt-get update -qq \