When trying to upload or download files that contain non-ascii
caracters raise a TemplateSyntaxError exception with the following
contents:

Django Version:         1.2.5
Exception Type:         TemplateSyntaxError
Exception Value:

Caught UnicodeEncodeError while rendering: 'ascii' codec can't encode
characters in position 125-126: ordinal not in range(128)

Exception Location:     /usr/local/lib/python2.6/dist-packages/django/
core/files/storage.py in _open, line 137
Python Executable:      /usr/bin/python
Python Version:         2.6.5
Python Path:    ['/home/protocolo/protocolo', '/home/protocolo', '/home/
protocolo/protocolo', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-
linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/
usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/
usr/lib/pymodules/python2.6', '/usr/local/lib/python2.6/dist-
packages', '/usr/lib/openoffice/basis-link/program']
Server time:    Sex, 29 Abr 2011 11:56:10 -0300

I have done what is on this page but not solved:
http://docs.djangoproject.com/en/1.2/howto/deployment/modpython/#if-you-get-a-unicodeencodeerror

Thanks!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to