0
0

More than 3 years have passed since last update.

unzip が文字化けしてる (-O オプションがない, Arch Linux)

Last updated at Posted at 2021-01-06

Windowsで作られたzipファイルを解答しようとしたら,文字化けしていたので,それに対する対策

手元の環境

$ more /etc/arch-release                                                               
Manjaro Linux
$ yay -V                                                        
yay v10.1.0 - libalpm v12.0.2

やったこと

デフォルトのunzipコマンドでは, -O オプションがなかったので,AUR (en) - unzip-iconv を入れ直す.

$ yay -S unzip-iconv

-O オプションが使えるようになりました

$ unzip -O sjis hoge.zip

他ディストリ

unzipによる文字化け - なんかいろいろ書き込んでみるテスト

0
0
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
0
0