-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError: codec can't encode characters
#37
Comments
anything?? |
any idea?: localectl statusSystem Locale: LANG=en_US.UTF-8
|
this worked for me:
|
UnicodeEncodeError
in CLI.colored_print
UnicodeEncodeError
: codec can't encode characters
UnicodeEncodeError
: codec can't encode characters
UnicodeEncodeError: codec can't encode characters
Install error afetr commit e450d53:
|
For info the using the latest version of kobo-install today (just PYTHONIOENCODING=utf8 python3 run.py --update |
Hello @AlexandreBonneau, |
You guessed right: locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8 |
Merci beaucoup ;-) |
Not sure we should change any code here, but for some reason, I needed to
export LANG=en_US.UTF-8
on a particularUbuntu 18.04.2 LTS
server to avoid this traceback:This was with
Python 3.6.7
(traceback above) andPython 2.7.15+
(same error but showed the box-drawing characters instead of the\u
escape codes). If nothing else, we can could close this issue and let it serve as a reference for anyone searching for this error.The text was updated successfully, but these errors were encountered: