hyextract icon indicating copy to clipboard operation
hyextract copied to clipboard

Option to handle different locales when extracting (especially for filenames' sake)

Open roachcord3 opened this issue 1 year ago • 0 comments

When importing archives that were created on computers using a different locale, the file names will often be messed up. Example (I'm not even sure that it will paste and display right in Github, but you get the idea, it's gnarly):

adding /Users/me/hyextract_workdir/temp/0c7f00ec9c85d7269df80259cca93c17b3aba9947a61ead8f6a04391c296ff1a/ƒAƒR/‘}“ü·•ª/‚ˆ‚†.jpg to hydrus

Some archive extracting utilities let you select locale to use for decoding filenames. On macOS, we have a pretty popular one called Keka. I don't know if the libraries you're using here are capable of doing the same, but if they are, it would be nice if the user could provide a locale to use when hyextract unarchives stuff.

roachcord3 avatar Dec 18 '23 03:12 roachcord3