Welcome, Guest Login

Enterprise Support

UnicodeEncodeError: 'ascii' codec

Last Updated: Nov 30, 2017 04:17PM CST
Problem:

On a Linux or macOS system you may encounter the following error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position


Solution:

Bash users:

Open a Terminal window and run:
export LC_ALL=en_US.UTF-8 
export LANG=en_US.UTF-8 

Close and reopen your Terminal window for the changes to take effect. Or you can add these to your ~/.bahsrcon Linux or ~/.bash_profile on macOS as follows.

csh Users:
setenv LANG en_US.UTF-8
setenv LC_ALL en_US.UTF-8

Close and reopen your Terminal window for the changes to take effect. Or you can add this to your ~/.csh on Linux and macOS.
support@continuum.io
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete