Re: More on locale

2018-07-12 Thread Vincent Lefevre
On 2018-07-11 17:38:18 +0100, John wrote:
> >> What is the output of "locale" and "locale -a" on this machine?
> snout:~> locale
> LANG=en_GB.UTF-8
> LANGUAGE=en_GB:en
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> snout:~> locale -a
> C
> C.UTF-8
> en_GB
> en_GB.iso88591
> en_GB.iso885915
> en_GB.utf8
> POSIX
> snout:~> 

So, the program that set LC_CTYPE to en_US.UTF-8 is just broken.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-11 Thread john doe

On 7/11/2018 6:38 PM, John wrote:

What is the output of "locale" and "locale -a" on this machine?

snout:~> locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
snout:~> locale -a
C
C.UTF-8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
POSIX
snout:~>

I had done the reconstruction of the locales with little effect



Did you use?:

$ dpkg reconfigure-locales

If no, what cmd did you use?
Also what is the content of?:

/etc/default/locale

--
John Doe



Re: More on locale

2018-07-11 Thread John
>> What is the output of "locale" and "locale -a" on this machine?
snout:~> locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
snout:~> locale -a
C
C.UTF-8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
POSIX
snout:~> 

I had done the reconstruction of the locales with little effect

I apologise for my ignorance -- never had to concern myself with such
things before
==John ffitch



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote:
> I should have added that I have been running this macine for years
> and this started recently, a month or two I think.

What is the output of "locale" and "locale -a" on this machine?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote:
> I have those files except the last htl one.
> 
> I should have added that I have been running this macine for years and this
> started recently, a month or two I think.
> 
> On Tue, 10 Jul 2018, Zenaan Harkness wrote:
> > I'm not sure, but try running locate on your locale e.g.:
> > 
> > $ locate en_US.UTF-8
> > /usr/share/X11/locale/en_US.UTF-8
> > /usr/share/X11/locale/en_US.UTF-8/Compose
> > /usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
> > /usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
> > /usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html

This is unrelated. The installed locales are under the
/usr/lib/locale directory, either /usr/lib/locale/locale-archive
or various directories if locales-all has been installed.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-09 18:37:19 +0100, John wrote:
> A short time ago I sought your advice about messages  I am getting
> about locales  I thought I did what was suggested but I still see
> 
>   CC   libclamav_internal_utils_nothreads_la-strlcat.lo
> ../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
> locale (en_US.UTF-8)
> when compiling, and
> 
> (firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> 
> from firefox.  There are other similar.   I have not got this problem
> on any other machine.  How can I fix it, and ensure it does not happen
> again?

Install the missing locale(s) with:

  dpkg-reconfigure locales

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: More on locale

2018-07-10 Thread jpff

I have those files except the last htl one.

I should have added that I have been running this macine for years and 
this started recently, a month or two I think.


On Tue, 10 Jul 2018, Zenaan Harkness wrote:


On Mon, Jul 09, 2018 at 06:37:19PM +0100, John wrote:

A short time ago I sought your advice about messages  I am getting
about locales  I thought I did what was suggested but I still see

  CC   libclamav_internal_utils_nothreads_la-strlcat.lo
../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
locale (en_US.UTF-8)
when compiling, and

(firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

from firefox.  There are other similar.   I have not got this problem
on any other machine.  How can I fix it, and ensure it does not happen
again?


I'm not sure, but try running locate on your locale e.g.:

$ locate en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8/Compose
/usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
/usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html


If you don't have those (or similar) locale files, you need to enable
and generate that (evidently required, based on your environment)
locale.

Good luck,





Re: More on locale

2018-07-09 Thread Zenaan Harkness
On Mon, Jul 09, 2018 at 06:37:19PM +0100, John wrote:
> A short time ago I sought your advice about messages  I am getting
> about locales  I thought I did what was suggested but I still see
> 
>   CC   libclamav_internal_utils_nothreads_la-strlcat.lo
> ../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
> locale (en_US.UTF-8)
> when compiling, and
> 
> (firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> 
> from firefox.  There are other similar.   I have not got this problem
> on any other machine.  How can I fix it, and ensure it does not happen
> again?

I'm not sure, but try running locate on your locale e.g.:

$ locate en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8/Compose
/usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
/usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html


If you don't have those (or similar) locale files, you need to enable
and generate that (evidently required, based on your environment)
locale.

Good luck,