Hi there,
i have a problem. I have running sabnzbd on my QNAP. Sometime after unpacking there are some files which are unaccessible via SMB. When i look via SSH they have strange characters in the filenames in it (lika a CR) where for example german umlauts should be (ä,ü,ö). I guess the unrar choose the wrong encoding. Is there a possibility to set an option like for the folders to remove them? Any possibility to control the encoding for the uncompression? Or at last ressort to put an user script in which removes the characters?
Invalid Characters after unpacking
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Invalid Characters after unpacking
Unrar always uses UTF-8 encoding, so your file system should support that
and Samba (the service that simulates Windows shares) should be told about it.
An alternative would be to run the a user script that calls
a very popular Perl script for this (available as a package for most systems).
Unfortunately, I cannot remember its name right now.
and Samba (the service that simulates Windows shares) should be told about it.
An alternative would be to run the a user script that calls
a very popular Perl script for this (available as a package for most systems).
Unfortunately, I cannot remember its name right now.
Re: Invalid Characters after unpacking
I just searched a little bit and maybe found the tool you mentioned: fslint?
http://en.flossmanuals.net/FSlint/BadNames
I would be more happy with a solution on the unraring-side but if there is none i will try it that way... Is it possible to use the logic which is already build into sabnzbd for the directory cleanup?
http://en.flossmanuals.net/FSlint/BadNames
I would be more happy with a solution on the unraring-side but if there is none i will try it that way... Is it possible to use the logic which is already build into sabnzbd for the directory cleanup?
Re: Invalid Characters after unpacking
The best way is to configure your system to support UTF-8.
I cannot influence what rarlabs doesn with unrar.
fslint isn't the one I used, but if it does the job, why not.
We will not build a "solution" into SABnzbd, this is way too complex
to do it right on all platforms in all circumstances.
Even then it would require people to enter encoding info about their system into SABnzbd.
It would be a support nightmare.
Anyway: our opinion is that systems should just support UTF-8
instead of mucking about with obsolete code page methods.
I cannot influence what rarlabs doesn with unrar.
fslint isn't the one I used, but if it does the job, why not.
We will not build a "solution" into SABnzbd, this is way too complex
to do it right on all platforms in all circumstances.
Even then it would require people to enter encoding info about their system into SABnzbd.
It would be a support nightmare.
Anyway: our opinion is that systems should just support UTF-8
instead of mucking about with obsolete code page methods.
Re: Invalid Characters after unpacking
Hmh how to do that?shypike wrote: The best way is to configure your system to support UTF-8.
Re: Invalid Characters after unpacking
OK i think i found the script you mentioned:
http://j3e.de/linux/convmv/man/
I put that into a user-script which looks like that:
#!/bin/sh
convmv -r -f iso-8859-1 -t utf8 --notest $1
Lets see if this is working...
http://j3e.de/linux/convmv/man/
I put that into a user-script which looks like that:
#!/bin/sh
convmv -r -f iso-8859-1 -t utf8 --notest $1
Lets see if this is working...
Last edited by Tscherno on July 27th, 2010, 12:59 pm, edited 1 time in total.
Re: Invalid Characters after unpacking
That's the one.