leggn at denison
May 20, 2011, 9:19 AM
Post #4 of 9
It's interesting that you bring this up now; I have recently encountered
a few users whose uploaded media still have the Windows drive letter in
the file name (e.g. C:\myresume.pdf). Something about the escaping of
the backslash causes the file to fail during a publish, but really I'd
rather not have the drive letter stuff in the file name in the first
place. I haven't been able to reproduce this yet, in any case.
Is this what Zdravko is talking about?
On 5/20/2011 11:32 AM, David E. Wheeler wrote:
> On May 20, 2011, at 4:59 AM, Zdravko Balorda wrote:
>> since in Windows you can type anything for a file name, and even
>> in Unix, I wonder would it be feasible to clean up things to pure ascii?
>> Anyone did that?
>> 1. convert UTF8 to ascii
>> 2. translate space,',;,& to -,c,:,a
>> This is not complete list, however. And perhaps wrong, too. :)
> If we did this, someone would complain that we weren't preserving their characters. So I don't think it should be limited in any way (except maybe to prevent unprintable characters).