Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have the rar package installed. Double clicking on .rar files opens the file in Archive manager. It works fine when folders or files use only characters with no accentuation, but if there is some accentuation present (inside the archives, not on the archive container filenames), then files that will open just fine in Windows using Winrar, 7zip or other archiver will produce an error message in Ubuntu.

The Archive Manager window will show the file list with wrong charsets, and trying to extract the files will produce two distinct errors:

If I double click the file:

RAR 4.00 beta 3   Copyright (c) 1993-2010 Alexander Roshal   17 Dec 2010
Shareware version         Type RAR -? for help


Extracting from /media/folder/file.rar

No files to extract

If I use the extract command:

all the files in the archive will be extracted but (invalid encoding) will be attached to the end of the folders and files with accentuation.

share|improve this question
    
I'm using Ubuntu 12.04.2 LTS –  That Brazilian Guy Jun 10 '13 at 3:35
1  
related: askubuntu.com/questions/220240/… –  That Brazilian Guy Jun 10 '13 at 3:38
1  
related: askubuntu.com/questions/48130/… –  That Brazilian Guy Jun 10 '13 at 3:38

1 Answer 1

up vote 2 down vote accepted

Running unrar x /path/to/file . will decompress the files with no encoding errors.

Apparently the issue is caused by the Archive Manager. (I'd really like to be able to use Archive Manager and the GUI, so if someone has a better answer I'll gladly accept it!)

share|improve this answer
1  
when there's no GUI for a good command like that what i do is try add it to context menu actions (i use Thunar custom actions but Nautilus has that feature of course). to do that the command has to adapted in some cases –  cipricus Jun 10 '13 at 7:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.