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

tostinni’s picture

Hi, 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

drewish’s picture

Status: Active » Closed (won't fix)

I guess it's safe to assume this is resolved...

doq’s picture

Category: feature » bug
Status: Closed (won't fix) » Active

Think 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.

keve’s picture

I 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/

lakyljuk’s picture

I 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.

sun’s picture

This 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).