You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utf-8 encoding is hardcoded in this function of the source code making reading / extracting files with non utf-8 names impossible
def _archive_entry_pathname(entry):
filepath = libarchive.calls.archive_entry.c_archive_entry_pathname(entry)
if filepath is None:
raise ValueError("Could not get entry file-path.")
return filepath.decode('utf-8')
The text was updated successfully, but these errors were encountered:
vchalmel
changed the title
UnicodeDecodeError on files in archive in filename contains non unicode characters (ex: é à etc.)
UnicodeDecodeError on files in archive if filename contains non unicode characters (ex: é à etc.)
Nov 23, 2021
utf-8 encoding is hardcoded in this function of the source code making reading / extracting files with non utf-8 names impossible
The text was updated successfully, but these errors were encountered: