Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 14703  / 2 Years ago, mon, july 25, 2022, 8:58:03

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.


More From » archive

 Answers
2

First install unrar using below command:


sudo apt install unrar


then 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!)


[#30796] Monday, July 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionash

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;