Re: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8
Reply #5 –
RTFM:
https://www.iana.org/assignments/character-sets/character-sets.xhtml
https://dcodesnippet.com/a-utf-8-locale-is-required-got-ansi_x3-4-1968/
Notice:
UTF-8 encodes characters with a variable number of bytes. A Unicode character is encoded in 1 to 4 bytes. The code points 0 to 127, which correspond to the ASCII character set, are encoded in one byte, whereby the most significant bit is always 0. The eighth bit can be used to introduce a longer Unicode character that extends over 2, 3 or 4 bytes. This is the most efficient use of memory space for fonts based on the Latin alphabet.
Apart from that, how about:
locale -a