Mailinglist Archive: opensuse-support (116 mails)

< Previous Next >
Re: [opensuse-support] "bad" locale -> bad/no box characters
On 26/12/2018 10.01, Felix Miata wrote:
Carlos E. R. composed on 2018-12-26 08:57 (UTC+0100):

Felix Miata wrote:

Carlos E. R. composed on 2018-12-26 03:54 (UTC+0100):


/etc/sysconfig/language

## Type: string(ctype)
## Default: ctype
#
# This defines if the user "root" should use the locale settings
# which are defined here.
# Value "ctype" means that root uses just LC_CTYPE.
#
ROOT_USES_LANG="ctype"

I never change this.

I don't either, and since both PCs are using the same /etc/sysconfig/language
file, with that same specification, what is this supposed to be telling me,
and
particularly, with regard to Konsole output?

(What, if anything as a practical matter, makes en_US and en_US.UTF-8
differ I don't know either,
but I'd really rather not see displayed CJK and other alphabets' characters
I don't read.)

Non UTF-8 charset, go back more than a decade.

Plain en_US is by definition non-UTF-8? I thought it was an alias to something
else that may or may not be UTF-8 equivalent? Box drawing characters have been
available on PCs for more than three decades.

There is no /usr/share/X11/locale/en_US/ directory, so beware.

en_US.UTF-8 might be wrong. There is "/usr/lib/locale/en_US.utf8",
lowercase. They exist en_US, en_US.iso885915, and en_US.utf8, and all
three are different actual directories, not links:

en_US:
-rw-r--r-- 73 root root 237196 Dec 5 12:14 LC_CTYPE

en_US.utf8
-rw-r--r-- 199 root root 278308 Dec 5 12:14 LC_CTYPE

en_US.iso885915
-rw-r--r-- 26 root root 237448 Dec 5 12:14 LC_CTYPE




Box drawing characters have been available on PCs for more than three decades.

In which charset? Because 8 bit charset have different interpretations
of what goes above code 127. You can not use that today - except that
some people do. TomTom, for instance :-/

Yes, the IBM-PC had them, but this is Linux, inheriting from Unix, so
not IBM-PC charset here. Then there are many variants: Spain has one,
France has another...

--
Cheers / Saludos,

Carlos E. R.
(from 42.3 x86_64 "Malachite" at Telcontar)

< Previous Next >