After downloading and unpacking rar archives, which contain files with special characters, I'm left with truncated filenames, because unrar doesn't seem to handle the special characters.
Files 08 and 14 hereafter should have been named 08 Y Yo Qué Culpa Tengo.mp3 and 14 A Mi Tío Lele.mp3
Code: Select all
01 Venta Zoraida.mp3
02 Mi Tiempo (Bulerias).mp3
03 Veloz Hacia Su Sino.mp3
04 Buleria De La Mocita.mp3
05 Del Molinete.mp3
06 Pozo Del Deseo.mp3
07 La Voz Del Tiempo.mp3
08 Y Yo Qu
09 Bodas De Sangre.mp3
10 Serrana, Que Te Olvidara.mp3
11 Del Calvario.mp3
12 A Quen Contarle.mp3
13 Dicen De Mi.mp3
14 A Mi T
15 A Mi Manuel.mp3
16 Nana De Colores.mp3
17 Abuelo Pacote.mp3
However I can't seem to solve it. Anyone with same problem and having a solution?
What I tried
I'm really not into Linux, however I tried a few things:
- running the unrar version supplied by NZBget, which is unrar 5.70:
Result: truncated files
Code: Select all
/usr/local/AppCentral/nzbget/nzbget/unrar x -y -p- -o+ /share/Download/NZBGet/dst/packed/7o ECYWmZPQKVOwcd8xg.part1.rar /share/Download/NZBGet/dst/test
- running the unrar version of ADM, which is 6.10:
Result: good files, no truncation
Code: Select all
/opt/bin/unrar x -y -p- -o+ /share/Download/NZBGet/dst/packed/7oECYWmZPQKVOwcd8xg.part1.rar /share/Download/NZBGet/dst/test
I also tried to overwrite unrar of nzbget with the ADM version. Result: still truncated files
Thinking logically, the problem seems NZBget related or it has something to do with locale when NZBget is shelling out.
What I also tried is getting the locale, but from this link https://forum.asustor.com/viewtopic.php ... ale#p42881 I found that I have en_US.UTF8. Which should be okay?
Unrar seems to have an option for setting characerset -sc<chr> but unrar complains about an unrecognized switch then
Any help is appreciated!