Django 1.4 - django.db.models.FileField.save(filename, file, save=True) produces error with non-ascii filename
In your FileField definition the 'upload_to' argument might be like os.path.join(u'uploaded', 'files', '%Y', '%m', '%d')
(see the first u'uploaded' started with u') so all string will be of type unicode and this may help you.
I'm making a fileupload feature using django.db.models.FileField of Django 1.4
When I try to upload a file whose name includes non-ascii characters, it produces error below.

'ascii' codec can't encode characters in position 109-115: ordinal not
  in range(128)

The actual code is like below

file = models.FileField(_("file"),
                          max_length=512,
                          upload_to=os.path.join('uploaded', 'files', '%Y', '%m', '%d'))
file.save(filename, file, save=True)  #<- This line produces the error
  above, if 'filename' includes non-ascii character

If I try to use unicode(filename, 'utf-8') insteadof filename, it produces error below

TypeError: decoding Unicode is not supported

How can I upload a file whose name has non-ascii characters?
Info of my environment:

sys.getdefaultencoding() : 'ascii'
sys.getfilesystemencoding() : 'UTF-8'
using Django-1.4.10-py2.7.egg