public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
  @ 2021-06-13 15:16 99%     ` Michael
  0 siblings, 0 replies; 1+ results
From: Michael @ 2021-06-13 15:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

On Sunday, 13 June 2021 15:11:18 BST Dr Rainer Woitok wrote:
> All,
> 
> On Sunday, 2021-06-13 15:39:46 +0200, I myself wrote:
> > ...
> > 
> > > > $ sudo locale
> > > > LANG=en_GB.utf8
> > > > ...
> > 
> > Erm,  is there a difference between  "*.utf8" and "*.UTF-8"?   Does case
> > matter?
> 
> Apparently yes.   At least  for Perl  or anything else  used by Portage.
> Running my package upgrade script again after setting
> 
>    $ export LANG=en_GB.UTF-8
> 
> just succeeded.  "As soon as you're doing it right,  it just works". :-)
> But what exactly is the difference?
> 
> Sincerely,
>   Rainer

If you have a look at the comments in /etc/locale.gen it explains where to 
find suitable notation for locale name, charset, and it also provides a 
default list of supported combinations:

/usr/share/i18n/SUPPORTED

In there we find:

$ grep -i en_gb /usr/share/i18n/SUPPORTED
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1

I recall in the past having had a similar problem and as you say, once you set 
it up correctly it just works.  :-)  I don't know what the difference is 
between lower/upper case notation for the charset, but having set it up in 
capitals seems to work here.  Note, I don't have any lower case charset in /
etc/locale.gen.

$ eselect locale list
Available targets for the LANG variable:
  [1]   C
  [2]   C.utf8
  [3]   POSIX
[snip ... ]
  [7]   en_GB
  [8]   en_GB.iso88591
  [9]   en_GB.utf8
  [10]  en_US
  [11]  en_US.iso88591
  [12]  en_US.utf8
  [13]  en_GB.UTF-8 *
  [ ]   (free form)


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-06-12 14:43     [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed Dr Rainer Woitok
2021-06-13 13:39     ` Dr Rainer Woitok
2021-06-13 14:11       ` Dr Rainer Woitok
2021-06-13 15:16 99%     ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox