-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
glibc: add patch to use utf-8 when LANG is unset #61202
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
Changes from all commits
265e077
e05d59a
0ebb6d2
a5999f6
9b218d1
6b828a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,7 @@ in rec { | |
| export CMAKE_OSX_ARCHITECTURES=x86_64 | ||
| # Workaround for https://openradar.appspot.com/22671534 on 10.11. | ||
| export gl_cv_func_getcwd_abort_bug=no | ||
| export LC_CTYPE=UTF-8 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be still great if we could set LANG on macOS as well. Reason is, that
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't seem to work correctly: vs. vs. This is the same thing described in the FreeBSD proposal:
UTF-8 is only valid for LC_CTYPE, which makes sense. This is a BSDism it looks like though, so documentation on it would be helpful. My thinking on this is that if a package really needs a non-UTF-8 encoding in 2019, they should specifically request it through setting LC_CTYPE or LC_ALL. Also just to show that LC_ALL does take precedence:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I meant by having a C.UTF-8 locale generated on macOS instead of using |
||
| ''; | ||
|
|
||
| bootstrapTools = derivation rec { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So debian switched to
C.UTF-8now?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is just a proposed patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874160