[Cyberduck-trac] [Cyberduck] #5162: File Names not uploaded properly if contain accented characters

Cyberduck trac at trac.cyberduck.ch
Thu Sep 9 20:14:40 CEST 2010


#5162: File Names not uploaded properly if contain accented characters
------------------------+---------------------------------------------------
    Reporter:  thekiwi  |        Owner:  dkocher      
        Type:  defect   |       Status:  new          
    Priority:  normal   |    Milestone:               
   Component:  core     |      Version:  3.6.1        
    Severity:  normal   |   Resolution:               
    Keywords:  UTF-8    |     Platform:  Mac OS X 10.5
Architecture:  Intel    |  
------------------------+---------------------------------------------------

Comment (by thekiwi):

 Replying to [comment:1 dkocher]:
 > Have you tried using a different character encoding such as
 `ISO-8559-1`?

 yes, that makes things even worse. There is something about how CyberDuck
 (and Captain FTP) uploads files with accented characters when UTF-8 is
 chosen compared to how FileZilla uploads them. If you look in this
 directory

  http://wmgs.org/tng_utf8/photos/FileZillaVsCyberDuck/

 you see two files that apparently have the same name, but if you view the
 source code for the page, you see one file represented as

 Ke%cc%81nna%cc%81tsi%cc%82deheads.gif <---- this one uploaded by CyberDuck

 and the other as

 K%c3%a9nn%c3%a1ts%c3%aedeheads.gif <---- this one uploaded by FileZilla

 If I view their names in CyberDuck and copy it out to TextWrangler and
 turn on "Show Invisibles" then I see what is in the attached image - the
 CyberDuck file shows the red upside down ? symbol in place of each
 accented character.

 If I turn off the Apache option for showing UTF-8 Directory listings, then
 the CyberDuck file shows as

 Kénnátsîdeheads

 and the FileZilla file shows as

 Kénnátsîdeheads

 I have worked yesterday with the owner of Simply Hosting where this site
 is and he confirms that the server is running UTF-8. I am able to repeat
 the same results on my server which is running Mac OS X 10.5.8 with
 PureFTPd running as the FTP server - the file uploaded by CyberDuck isn't
 referenced correctly once it's saved using PHP. This can be seen here

  http://wmgs.org/tng_utf8/browsemedia.php?mediatypeID=photos

 where the bottom 2 files, if you click the link for the FileZilla one,
 you'll see the image, but if you click the link for the CyberDuck one you
 don't see the image, yet the file name field below the image is the same
 in each case.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5162#comment:2>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files, Google Docs, Azure and S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list