-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-39074: [Release][Packaging] Use UTF-8 explicitly for KEYS #39082
Conversation
|
@github-actions crossbow submit almalinux-* centos-* amazonlinux-* |
|
@github-actions crossbow submit almalinux-* centos-* amazon-linux-* |
Revision: 834a72f Submitted crossbow builds: ursacomputing/crossbow @ actions-ad03727a29 |
+1 |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 50e54b8. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them. |
### Rationale for this change `KEYS` may have UTF-8 (non ASCII) characters. Ruby chooses the default encoding based on `LANG`. If `LANG=C`, Ruby uses the `US-ASCII` encoding as the default encoding. If Ruby uses the `US-ASCII` encoding, we can't process `KEYS` because it has non ASCII characters. ### What changes are included in this PR? Use the `UTF-8` encoding explicitly for `KEYS`. If we specify the `UTF-8` encoding explicitly, our `KEYS` processing don't depend on `LANG`. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #39074 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
…pache#39082) ### Rationale for this change `KEYS` may have UTF-8 (non ASCII) characters. Ruby chooses the default encoding based on `LANG`. If `LANG=C`, Ruby uses the `US-ASCII` encoding as the default encoding. If Ruby uses the `US-ASCII` encoding, we can't process `KEYS` because it has non ASCII characters. ### What changes are included in this PR? Use the `UTF-8` encoding explicitly for `KEYS`. If we specify the `UTF-8` encoding explicitly, our `KEYS` processing don't depend on `LANG`. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#39074 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
KEYS
may have UTF-8 (non ASCII) characters. Ruby chooses the default encoding based onLANG
. IfLANG=C
, Ruby uses theUS-ASCII
encoding as the default encoding. If Ruby uses theUS-ASCII
encoding, we can't processKEYS
because it has non ASCII characters.What changes are included in this PR?
Use the
UTF-8
encoding explicitly forKEYS
. If we specify theUTF-8
encoding explicitly, ourKEYS
processing don't depend onLANG
.Are these changes tested?
Yes.
Are there any user-facing changes?
No.