Ok, first of all I've searched through the group, this issue has been raised several times, but no helpful answer given. I wrote a small file hosting service, and want its users to be able to upload and download files with non-ascii characters in names - and threrefore, I want the name suggested by browser at dowload time to be the same as the original file's name. The problem is - it works fine at local dev server, but when I upload it to GAE: 1) some files are not downloaded, but shown in browser instead, but that is a rare case; 2) the name suggested by the browser for saving is correct for ascii-only names and equal to 'download' for other names.
That's what download handler does after retrieving file from datastore: self.response.headers['Content-type'] = 'application/octet-stream; charset=utf-8' self.response.headers['Content-Disposition'] = 'attachment; filename=' + fileinfo.filename.encode('utf-8') self.response.out.write(file.contents) ('filename' is a db.StringProperty of FileInfo entity and stores unicode values with file names) Once, again, this works PERFECT at local dev server. Any hints? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---