Kevin Fenzi wrote:
> It uses mutt... 
> 
> https://pagure.io/pungi-fedora/blob/main/f/nightly.sh#_230

Mutt gets the input character encoding from the locale, as every
program should. And the problem is found on line 4 of nightly.sh:

export LC_ALL=C

That means, among other things, "There's nothing but ASCII in our
locale.", which confirms my first guess. Is that there to work around
some other bug in some program the script invokes, or is it just
cargo-culting?

My second guess was slightly off. It's Mutt that resorts to
"unknown-8bit" when non-ASCII input appears in the "C" locale.

The solution is to stop lying to Mutt about the locale. The locale
should be "en_US.UTF-8" – or possibly "C.UTF-8" if it's necessary to
work around some bug involving alphabetical sorting or typographical
quotes or something.

While we're at it, do you also know what program sends the EPEL
updates-testing reports?

Björn Persson

Attachment: pgpzQvUuMnwkw.pgp
Description: OpenPGP digital signatur

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to