spacer.png, 0 kB
  May 20, 2013, 19:17:57

 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Invalid character set for accents in filenames  (Read 713 times)
edjolanski

Posts: 3


View Profile
« on: December 31, 2009, 00:41:29 »

I just started using URD for the first time, and  like the idea but so far it is mangling filenames.  E.g., if I try to download "01 Prélude à l'Après-midi d'un Faune.mp3" it looks like "01 Pr?lude ? l'Apr?s-midi d'un Faune.mp3".  It appears to be storing the filenames in iso8859-15 while I am running utf-8.  Now, this particular file was also validated by par2 with no errors, so it seems par2 is able to read the file names correctly.

Surely others must have come across this issue before?  Any ideas on how to solve it?  I did a little testing, and my PHP writes out these accented characters in utf-8 as it should, so it must be buried in the URD code somewhere.

Thanks
Logged
edjolanski

Posts: 3


View Profile
« Reply #1 on: December 31, 2009, 00:50:03 »

I should mention I'm running URD 1.0.2-1~getdeb1.
I can fix the problem after downloading by running:
Code:
convmv -f iso-8859-15 -t utf-8-strict --notest *
It should not be necessary to do this, however.
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #2 on: December 31, 2009, 11:37:53 »

I sometimes come across this problem as well. I think this is caused by one of the tools URD uses: yydecode, which creates the files if yenc encoding is used. I can't really fix that. Otoh if it is uuencoded, or mime encoded, it may be URD tho. But to be sure, can you post an NZB file of a couple of files that go wrong?

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Amigri by Fakdordes
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB