simon@thevoid:~$ echo $LC_CTYPE
simon@thevoid:~$ echo $LANG C simon@thevoid:~$ locale LANG=C LANGUAGE=en_CA LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL= simon@thevoid:~$ locale charmap ANSI_X3.4-1968 simon@thevoid:~$ cat /etc/default/locale # File generated by update-locale LANG="en_CA.UTF-8" simon@thevoid:~$ cat /etc/rc.conf cat: /etc/rc.conf: No such file or directory simon@thevoid:~$ cat /etc/locale.conf cat: /etc/locale.conf: No such file or directory simon@thevoid:~$ grep "^[^#;]" /etc/locale.gen en_CA.UTF-8 UTF-8 en_US.UTF-8 UTF-8 simon@thevoid:~$ dpkg -l locales Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii locales 2.27-3ubuntu all GNU C Library: National Language simon@thevoid:~$ python3 --version Python 3.6.9 simon@thevoid:~$ python3 Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.version_info sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0) >>> sys.stdout.encoding 'ANSI_X3.4-1968' >>> exit()
simon@thevoid:~$ echo $LC_CTYPE
simon@thevoid:~$ echo $LANG ON="C" Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ===-=== ======= ==-==== ======= ======= ======= ======= = info(major= 3, minor=6, micro=9, releaselevel= 'final' , serial=0)
C
simon@thevoid:~$ locale
LANG=C
LANGUAGE=en_CA
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATI
LC_ALL=
simon@thevoid:~$ locale charmap
ANSI_X3.4-1968
simon@thevoid:~$ cat /etc/default/locale
# File generated by update-locale
LANG="en_CA.UTF-8"
simon@thevoid:~$ cat /etc/rc.conf
cat: /etc/rc.conf: No such file or directory
simon@thevoid:~$ cat /etc/locale.conf
cat: /etc/locale.conf: No such file or directory
simon@thevoid:~$ grep "^[^#;]" /etc/locale.gen
en_CA.UTF-8 UTF-8
en_US.UTF-8 UTF-8
simon@thevoid:~$ dpkg -l locales
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii locales 2.27-3ubuntu all GNU C Library: National Language
simon@thevoid:~$ python3 --version
Python 3.6.9
simon@thevoid:~$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version_info
sys.version_
>>> sys.stdout.encoding
'ANSI_X3.4-1968'
>>> exit()