Further info. I read that maybe this is a problem with the default locale encoding used in Ubuntu and in Python 3 (when reading a file) Here is my ~/.pam_environment file just in case then:
LANGUAGE=en LANG=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 PAPERSIZE=letter
Further info. I read that maybe this is a problem with the default locale encoding used in Ubuntu and in Python 3 (when reading a file)
Here is my ~/.pam_environment file just in case then:
LANGUAGE=en en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 ON=en_US. UTF-8
LANG=en_US.UTF-8
LC_NUMERIC=
LC_TIME=en_US.UTF-8
LC_MONETARY=
LC_PAPER=
LC_NAME=en_US.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
PAPERSIZE=letter