On Mon, Feb 15, 2010 at 2:05 PM, Robert <[email protected]> wrote:

> hello,
>
> I am trying to configure apache on a new server, but just getting 500
> errors due a UnicodeEncodeError (in fact is on the photologue
> application but the problem is extended wherever I use unicode
> strings).
>
> My problem is that when the application tries to access to the file
> name of a photo, which is unicode encoded I get this error:
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in
> position 68: ordinal not in range(128)
>
>
See:
http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#if-you-get-a-unicodeencodeerror

Though in the mod_python doc, it applies to mod_wsgi as well. (That section
should really be put somewhere common.)

Though the noted envvars file is OS-specific, changing it works on my Ubuntu
machine (though I've not updated to karmic yet, I'd assume this hasn't
changed).

Karen

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

Reply via email to