Difference between revisions of "Zip"

From Vague Hope Wiki
Jump to: navigation, search
(Created page with "<pre> 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 * </pre> == References == * http://osmanov-dev-...")
 
 
Line 4: Line 4:
 
convmv --notest -f SHIFT-JIS -t UTF8 *
 
convmv --notest -f SHIFT-JIS -t UTF8 *
 
</pre>
 
</pre>
 +
http://osmanov-dev-notes.blogspot.co.uk/2010/07/how-to-handle-filename-encodings-in.html
  
== References ==
+
mkdir foo && cd foo
 
+
env LANG=C 7z x ../foo.zip
* http://osmanov-dev-notes.blogspot.co.uk/2010/07/how-to-handle-filename-encodings-in.html
+
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/

Latest revision as of 13:37, 8 December 2014

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/