-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bisected] Locale broken with nixpkgs on Fedora {29…31} #60414
Comments
cc @Mic92 |
What does
|
I guess I am having the same concern with both mutt/neomutt on both ubuntu/archlinux: accents are displayed as ??? |
Fwiw the problem persists in 19.09. Mutt is practically unusable.
It is empty / undefined. As mentioned above, this happens using nixpkgs on Fedora where
does not fix the issue nor does
with any of the glibc related paths in the nix store. |
I don't have a neomutt/mutt setup. Do you have a command/configuration that I could run to show the encoding problems on a non-NixOS machine? |
I suggest you have to setup a mailboxe, and put a test email in it with special character. maybe this setup can be shared as an archive |
It should show up with mutt running a minimal configuration: Save this file as Once in the inbox the issue will be obvious from message subjects |
Fwiw I just noticed that weechat suffers from the same issue if built from nixpkgs |
Investigating this some more I noticed that in a nix-shell,
I don’t have any of the Why does the C.utf8 locale work while the en_US.utf8 doesn’t? |
In a nix-shell it works fine, if glibcLocales is added as well
As this adds LOCALE_ARCHIVE:
|
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
Adding |
I marked this as stale due to inactivity. → More info |
This fixed a similar issue for me https://nixos.wiki/wiki/Locales |
Issue description
Affected package: mutt.
The affected system is nixpkgs on Fedora 29 (Linux 5.0.9-200.fc29.x86_64).
The problem manifests itself by Mutt not displaying properly encoded
UTF-8 text.
Bisection identifies this commit as the culprit:
Mutt up to that point handles UTF-8 just fine.
Steps to reproduce
Install mutt via nix-env and run it in xterm under en_US.utf8 locale.
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: