Python - UTF-8 ValueError

Posted on Fri 17 March 2017 in Python, MacOSX

If you get the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8