aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2015-11-03 13:50:43 +0100
committerMathias Bynens <mathias@qiwi.be>2015-11-03 13:50:43 +0100
commit91061576949743a38b759b5e6e86a43058279dbf (patch)
tree07280022470e480803d9ca95fdad4faf20487a8e
parent2a8a8450bcae5c4f2200195a14fdb3b519e3cedb (diff)
downloaddotfiles-91061576949743a38b759b5e6e86a43058279dbf.tar.gz
dotfiles-91061576949743a38b759b5e6e86a43058279dbf.tar.bz2
dotfiles-91061576949743a38b759b5e6e86a43058279dbf.zip
.exports: Add `PYTHONIOENCODING`
https://docs.python.org/2/using/cmdline.html#envvar-PYTHONIOENCODING
-rw-r--r--.exports3
1 files changed, 3 insertions, 0 deletions
diff --git a/.exports b/.exports
index 4654085..272d9a3 100644
--- a/.exports
+++ b/.exports
@@ -8,6 +8,9 @@ export NODE_REPL_HISTORY_SIZE='32768';
# Use sloppy mode by default, matching web browsers.
export NODE_REPL_MODE='sloppy';
+# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr.
+export PYTHONIOENCODING='UTF-8';
+
# Increase Bash history size. Allow 32³ entries; the default is 500.
export HISTSIZE='32768';
export HISTFILESIZE="${HISTSIZE}";