OSX 10.7.3, PyCharm version 2.5 build PY 117.200
I\'ll run through how I get the error:
Go onto Terminal:
$ nano .bash_profile
add:
export LC_ALL=en_GB.UTF-8 export LANG=en_GB.UTF-8
(or use the locale -a command to see which ones are available to you)
save and try again.