Mailinglist Archive: opensuse-support (116 mails)

< Previous Next >
Re: [opensuse-support] "bad" locale -> bad/no box characters
On 26/12/2018 17.25, Andrei Borzenkov wrote:
26.12.2018 12:01, Felix Miata пишет:

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.


lsblk does not use line drawing characters available on PC; it is using
UTF-8 line drawing characters if locale is UTF-8 or plain ASCII
equivalent if locale is not UTF-8. It does not use terminal database (be
it terminfo or termcap) at all.


Look at this photo he posted:

Bad http://fm.no-ip.com/SS/Suse/lc423bad00srv.jpg

Looks like konsole is printing thinking that it has UTF but has not. If
it knew it would be using other chars, not garbage.

--
Cheers / Saludos,

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

< Previous Next >
Follow Ups