Re: Warnings

db <[email protected]>
Newsgroups comp.lang.perl.misc
Organization A noiseless patient Spider
Message-ID <[email protected]>
On 14.07.2023 17.43, Thomas Dorner wrote:
> db <[email protected]> writes:
> 
>> When I run a script that runs gnuplot - and only such scripts -
>> I get these warnings
>>
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>>          LANGUAGE = "",
>>          LC_ALL = (unset),
>>          LANG = "da_DK.UTF-8"
>>      are supported and installed on your system.
>> perl: warning: Falling back to the standard locale ("C").
>>
>> I am working under Kubuntu Linux. What do I have to do to
>> get rid of these warnings? The script then goes on to
>> work, but this is annoying.
> 
> You probably need to activate (remove comment sign) your danish locale
> in /etc/locale.gen and rerun locale-gen (as stated in /etc/locale.gen).
> 
> Best regards, Thomas

It isn't there to uncomment. Can I just add it as a new line?
What do the other two mean, LANGUAGE = "" and LC_ALL = (unset) ?
Should I add all three lines?

-- 
Dieter Britz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.