Zip

From Vague Hope Wiki
Jump to: navigation, search
env LANG=ja_JP 7z l jp.zip | iconv -f SHIFT-JIS -t UTF8
env LANG=ja_JP 7z e jp.zip
convmv --notest -f SHIFT-JIS -t UTF8 *

http://osmanov-dev-notes.blogspot.co.uk/2010/07/how-to-handle-filename-encodings-in.html

mkdir foo && cd foo
env LANG=C 7z x ../foo.zip
convmv -f SHIFT_JIS -t utf8 --notest -r *

https://allencch.wordpress.com/2013/04/15/extracting-files-from-zip-which-contains-non-utf8-filename-in-linux/