Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
System:
-Windows 2000 / XP,
-IIS,
-PHP 4.4,
-MySql 4.1 with UTF support
Situation:
I am using FileManager with private store settings and with attacment module.
Files uploaded with non-english characters in filenames are renamed: the non-english characters are replaced with woodoo characters.
Example:
Before the upldoad the filenam was 'Test1_á.doc'.
After the dowload, the new downloaded filename is: 'Test1_á.doc'
The 'á' chararcter is a member of ISO-8889-1 (Latin-1 / Western European) codepage.
regards, G.
Comments
Comment #1
tostinni CreditAttribution: tostinni commentedHi, let me understand your problem with voodoo names :D
You say that after download, your file get a voodoo name... What do you mean by download.
I just try with my drupal 4.6.2 and attachment module and after a download, I get a perfect name "Test1_á.doc", but I mean a download from the website. In fact upload, download and consult throught the web site always show me the right encoded characters the "á".
BUT, and there's a BUT, if you look in the file directory, you will see voodoo characters.
That perfectly normal, because they are encoded in UTF (I guess) so I get "Test1_á.doc".
I don't remember where does this happen, bu I think it's a perfectly normal behaviour
Comment #2
drewish CreditAttribution: drewish commentedI guess it's safe to assume this is resolved...
Comment #3
doq CreditAttribution: doq commentedThink you're wrong. It produces voodoo on the filesystem (Win2003s).
After upload I can't download it. Receiving 404.
Using Drupal 4.7 b4, private dnld mode, upload module, Win2003s.
Comment #4
keve CreditAttribution: keve commentedI had similar problem, but not for uploading, but when clients tried to download.
I wrote a script, which converts filename at uploading by removing voodoo caracters and space from filename.
You can find it in my sandbox:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/keve/
Comment #5
lakyljuk CreditAttribution: lakyljuk commentedI have this problem too. When I upload some documents with special character like ěščřžýáíé, they are replaced with weird characters when looking in FTP directory.
But after upload it looks ok in browser, like original. But when clicked - in Firefox normal download routine begins, but in IE it gives me only blank page - perhaps because IE cannot convert these weird characters into original filename. So nobody is able to click and download (see) this file.
Comment #6
sunThis is a Drupal core issue. You definitely should test Transliterate filenames module. Please report back if that module works for you (and mark this issue fixed if it does).