[issue24968] Python 3 raises Unicode errors with the xxx.UTF-8 locale

STINNER Victor report at bugs.python.org
Mon Aug 31 13:38:43 CEST 2015


STINNER Victor added the comment:

It's not a bug on Python, but a bug on your system.

> New submission from Roberto Sánchez:
>     [rob at fedora22 ~]$ locale
>     locale: Cannot set LC_CTYPE to default locale: No such file or directory

This message means that the chosen locale doesn't exist.

>     LANG=es_ES.UTF-8
...
>     [rob at fedora22 ~]$ localectl list-locales
> ....
>     en_US.utf8       <-- This is the default one

LANG must be en_US.utf8.

----------
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24968>
_______________________________________


More information about the Python-bugs-list mailing list