This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a pre-condition for using libarchive directly: libarchive needs to know what the encoding of filenames is, and it uses the current locale for that. Without setlocale(), the locale is "C", which only supports ASCII filenames, leading to warnings about "Can't encode..." from libarchive when it is forced to fall back to copying strings verbatim when writing archives that require UTF-8 encoding. As a side effect, error messages from libc will get translated according to the user's environment. Signed-off-by: Patrick Ohly <[email protected]>
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters