LoginSignup
12
12

More than 5 years have passed since last update.

windowsから送られてきたzipファイルを解凍するとファイル名が大変なことになっている時

Last updated at Posted at 2014-06-07

Windowsユーザーが生成したzipファイルをunzipコマンドで解凍するとファイル名が文字化けていることがある.やれやれ,nkfの出番かなと思ってやってみても,一向に解読できない.結局zipファイルの中身がちゃんと読み取れないままファイルにばらしちゃってるからダメなようだ.

unzip -O cp932 lovelive.zip

でok.ちなみにcp932はwindowsの文字コードのこと http://www.kab-studio.biz/Programing/JavaA2Z/Word/00000716.html

12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12