Hi,
I am trying to setup an Open Atrium (Drupal 6) for our company intranet.
We have huge directory - subdirectory file system with mixed Greek (Non Unicode) and English filenames. While opening a IMCE file browser all Greek filenames are not readable (Non Unicode), thus cannot be recognized. When importing a Link the URL I get is :
/atrium-1.1/sites/default/files/web/Articles/%C1%D5%D4%CF%CC%C1%D4%C9%D3%CC%CF%D3_%D1%CF%C4%CF%D0%CF%CB%C7.doc
which offcourse can't be accessed via web browser.
The second issue I have is that when I upload a file with Greek Filename it is renamed to unreadable:
Ξ—Ξ-Ξ΅ΞΞ”ΞΞ ΞΛΗΣ.doc
and again I cant access it via web browser.
What I am trying to achieve is to retain the Filenames intact during reading or uploading them.
Note 1: Transliteration module is not an option due to renaming files will loose their meaning, thusthe existened ammount of files are huge and just cannot be renamed.
My configuration is Xampp on Windows, Drupal 6
Thank you in advance
Comments
Comment #1
ufku CreditAttribution: ufku commentedIMCE can't do anything about it.
You may try redefining imce.decode method for displaying characters correctly, but it won't solve the access issues.
In script.js of your theme
You'll always have problems with non-ascii file names in Windows because file names are converted to unicode in the upload form and they are stored as unicode in db. Thus, a filepath in db never matches the filepath in the file system.
Comment #2
ufku CreditAttribution: ufku commented