I still haven't figured out a way to *reliably* extract Japanese SJIS zip files on Linux. unzip/7z work on files with extended UTF-8 filenames. unzip always mangles SJIS. LANG=C 7z passes through SJIS and convmv can convert to UTF-8, but that mangles UTF-8 extended zips.
-
-
Yeah, this totally works. Why does nobody build unzip with support for this option?!pic.twitter.com/fzGjbnIvhI
Show this thread -
PR filed for Gentoo and bug filed for Arch. https://github.com/gentoo/gentoo/pull/6276 … https://bugs.archlinux.org/task/56428
Show this thread
End of conversation
New conversation -
-
-
iconv is a pretty good heuristic. Still if I purposefully mix encoding, I guess you might have problems. OS filenames are char *, their decoding are a view mapped by the user space program (ls, xterm, ff...) with its quirks.
-
iconv is not a heuristic, it's a charset conversion library. I'm not asking for a magical "autodetects all charsets" option. I'm asking for the ability to be able to explicitly specify the charset at all, which is what that build flag does.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.