Chars with Accents

Report & discuss bugs found in SABnzbd
Forum rules
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.
Post Reply
Renfield
Newbie
Newbie
Posts: 5
Joined: July 15th, 2008, 7:16 am

Chars with Accents

Post by Renfield »

Hi,

I have a NAS TS-409 and I use sabnzbd since few months.
I'm French.

Sometimes, rar filenames, or name of the files in rar archives  contains some accentuated characters.
Sometimes unrar refuses it ; but most of the time, files are unrared, but I can't access files through FTP

Could you make something (remove characters or convert them in order to allow them) ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Chars with Accents

Post by shypike »

Linux systems handle accented chars a bit awkward.
unrar just assumes that the filesystem uses UTF-8.
The file-system may not be able to handle this, because often it is set to some ISO 8-bit character set.
There's nothing that SABnzbd can do about this.

What I do, is run a user-script that uses the convmv command.
convmv is  a Perl script, which maybe available as a package for your platform.
If not, make sure Perl is installed and get the script from here: http://www.j3e.de/linux/convmv/

Code: Select all

#!/bin/sh
# Convert names from iso-8859-1 to utf-8
convmv -f iso-8859-1 -t utf-8 --notest -r --nfc "$1"
Post Reply