Web lists-archives.com

Re: bugreport - reportbug 7.1.7 on Debian 9.1




Hi,

On Tue, 5 Dec 2017 19:20:45 +0100
Sophie Loewenthal <sophie@xxxxxxxxxxxx> wrote:

> Hi Michael,
> 
> Thanks for the info.
> 
> $  python3 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
> ANSI_X3.4-1968
> 
> I’ve not set this Bizarre
> 

this looks like somehow LANG is set to C (or maybe something that
Python does not know).
ANSI_X3.4-1968 appears to be a synonym for ASCII

You can change this temporarily by preceding the program call with an
explicitely defined locale:

$ python3 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
UTF-8
$ LANG=C python3 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
ANSI_X3.4-1968
$ LANG=en_US python3 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
ISO-8859-1
$ LANG=en_US.UTF8 python3 -c "import locale; print(locale.nl_langinfo(locale.CODESET))"
UTF-8

Maybe your terminal emulator is misconfigured, did you try
a different one? Or is there something suspicious looking in the
output of env ?

> 
> Sophie 
> ( ͡° ͜ʖ ͡°)

(ó.ò)

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Genius doesn't work on an assembly line basis.  You can't simply say,
"Today I will be brilliant."
		-- Kirk, "The Ultimate Computer", stardate 4731.3