Monday, May 2, 2011

Problem uploading images and videos with filenames containing not ascii characters

Hi everybody:

How Can I solve this, I have a form to upload videos and images but when a video or image with a filename containing not ascii characters is uploaded then I get the following error:
Django Version: 1.2.1
Exception Type: UnicodeEncodeError
Exception Value:
'ascii' codec can't encode characters in position 65-68: ordinal not in range(128)
Exception Location: /usr/lib/python2.5/posixpath.py in exists, line 171
Python Executable: /usr/bin/python
Python Version: 2.5.2

How can I solve this problem ???
Any help is really appreciatte it.

Regards,
Ariel

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment