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

libarchive: add fallback for systems without C.UTF-8 #6683

Merged
merged 1 commit into from May 4, 2019

Conversation

Dudemanguy
Copy link
Member

Suggested in IRC as a possible fix to #5759 and #6488. Currently libarchive uses C.UTF-8 as a locale, but that is debian specific and thus broken on other linux distros and macOS. This PR leaves C.UTF-8 as the default, but falls back to LC_CTYPE which should just use the environment variable of the current system. Of course, this also supersedes #6438 and #6268.

I agree that my changes can be relicensed to LGPL 2.1 or later.

@sfan5 sfan5 merged commit 037cbac into mpv-player:master May 4, 2019
@Dudemanguy Dudemanguy deleted the locale-fallback branch May 4, 2019 16:15
@Dudemanguy Dudemanguy restored the locale-fallback branch May 4, 2019 18:31
@Dudemanguy Dudemanguy deleted the locale-fallback branch May 4, 2019 18:31
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

3 participants