[Seaside] Downloads and filenames with diacritics

Sebastian Sastre sebastian at flowingconcept.com
Wed Sep 29 00:50:11 UTC 2010


It's linux ext3 but whatever it was using it wasn't playing nice with xsendfile, so


On Sep 28, 2010, at 4:17 PM, Philippe Marschall wrote:

> 2010/9/28 Sebastian Sastre <sebastian at flowingconcept.com>:
>> Hi guys,
>> 
>> I've been using this:
>> 
>> (GRCodec forEncoding: 'utf-8') encode: aFilaname
>> 
>> just before writing an uploaded file (that probably has diacritics in its name).
>> 
>> The thing is that xsendfile doesn't find the ones with diacritics and the download fails. Non diacritical downloads works just fine.
>> 
>> As workaround I'm forcing filenames to be non-diacritical while we find a solution.
>> 
>> Wonder if any of you guys have solved making your webapp to offer files download even when the filenames has diacriticals? I mean with xsendfile (from a seaside app of course).
> 
> Uhm, I'd assume xsendfile uses the OS file system name encoding. Is
> that UTF-8 in your case?
> 
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list