Skip to content
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

Use system LC_CTYPE for libarchive #6438

Closed
wants to merge 1 commit into from

Conversation

jameshilliard
Copy link
Contributor

This should improve locale support for systems that don't have a C.UTF-8 locale.

From my testing only LC_CTYPE_MASK was needed and LC_ALL_MASK appeared to be broken on some systems(note I tested this as part of a different application but it appears to be used in the same way here).

@Akemi
Copy link
Member

Akemi commented Jan 13, 2019

as a new contributor it would be nice if you read contribute.md.

specifically the commit messages and body in this case, eg adding the prefix of the subsystem (stream_libarchive:) before the message, possibly adding a small explanation of the issue into the commit body and referencing the original issue with "Fixes #5759" (this will auto close that issue in case of a merge).

Fixes mpv-player#5759
LC_ALL is unreliable on some systems.
Setting C.UTF-8 doesn't work on systems without a C.UTF-8 locale.
@jameshilliard
Copy link
Contributor Author

Updated, that good now?

@Akemi
Copy link
Member

Akemi commented Jan 13, 2019

yeah commit message seems good to me now.

@Dudemanguy
Copy link
Member

LGTM
I'm someone that suffers from libarchive failing (specifically #6488) and this PR fixes it for me.

@bb010g
Copy link

bb010g commented Apr 5, 2019

Can confirm that this fixes #6488 failures on NixOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants