1

I am trying to fix an encoding issue with any zip files or rar files that I unzip.

Anything I try to unzip through file-roller comes out like this

enter image description here

if using the unzip utility in terminal this is the output

  Archive:  romeo_inst.zip
  inflating: romeo/???~?I???V???f????.txt  
  inflating: romeo/???~?I???V???f????karaoke.mp3 

I do not understand what is going wrong and I have tried everything including convmv and everything else!

andrew.46
  • 39,359

3 Answers3

3
 unzip -O cp932 filename.zip

Option -O cp932 avoid this collapse, I think.

0

I use this to unzip my japanese encoded zip files:

unzip -O shift-jis filename.zip

file-roller uses p7zip if you have it installed. I don't know how it handles it without p7zip, but the above command should work fine.

0

for GUI user: Archive Manager (file-roller)

A modified file-roller
https://askubuntu.com/a/611943/413480
https://launchpad.net/~hanipouspilot/+archive/ubuntu/file-roller


install the modified verfion file-roller (or just extract the file-roller in *.deb)

and run with

UNZIP='-O CP932' ZIPINFO='-O CP932' bin/file-roller

file names maybe right.

yurenchen
  • 471