locale gubbins produces unavoidable noise #15501
Created by email@example.com
$ LANG=wibble perl -e 'print "not using locale\n"'
The hefty warning about failing to set locale occurs during
perl should not be saying anything on the program's stderr, other than
Depending on how important this implicit setlocale call is, perl should
On 08/08/2016 10:49 AM, Zefram (via RT) wrote:
perl is written in C. Every C program has an underlying locale. Thus
The locale must be initialized at startup for several reasons. I too
The implementors of locale anticipated your issue, and so you can turn
As a side note, my default shell will warn on a bad locale for any
$ LANG=wibble date
Karl Williamson wrote:
By default the locale is "C", not environmentally determined. The "C"
Irrelevant to this bug. Calling out to a program that may use locale
The backtick itself doesn't need any locale processing. The external
So so far I'm not seeing what perl needs to select the environmental
That's not under control of the program. Doesn't address this problem.
Others getting the same thing wrong isn't an excuse.