python-unrar icon indicating copy to clipboard operation
python-unrar copied to clipboard

Bad RAR archive data for chiness filename

Open xiaochao00 opened this issue 7 years ago • 3 comments

when I use extractall decompression a rar file, which have chiness directory name, I get this exception. Can I know how to use this with chiness filename or directory name? please help me , thanks.

xiaochao00 avatar Oct 10 '17 14:10 xiaochao00

Do you have a link for a failing rar file so I can reproduce the issue? Thanks.

matiasb avatar Oct 21 '17 21:10 matiasb

ok,thanks. demo file in https://pan.baidu.com/s/1nuS8mql . I am not sure you can download or not. If any problems tell me. I try again: code is from unrar import rarfile rar = rarfile.RarFile('a.rar') rar.extractall()

when I run this in Window platform this error is not throw, but throw in Linux platform. I am not sure if this the error of character encoding in linux.

xiaochao00 avatar Oct 23 '17 14:10 xiaochao00

I tried to download the file, but it doesn't seem I can (I get a "page does not exist" message).

matiasb avatar Oct 30 '17 14:10 matiasb