On Tue, Jun 15, 2010 at 8:18 AM, MichaelHjulskov <needb...@gmail.com> wrote:
> > My good friend just told me to take a look here and define a function > on upload_to that filters special chars from filenames. > > > http://docs.djangoproject.com/en/1.2/ref/models/fields/#django.db.models.FileField.upload_to > > Do you aggree? Would that be the an appropriate solution to solve this > problem? You could use that as a workaround, but I would not call that the right answer. The right answer is for the environment of the web server to be set up so that unicode strings containing non-ASCII data can be successfully passed to Python file system functions. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.