Hi all,

I raise an exception with localized text, e.g.

    raise XXXInternalException, ugettext('_XXX_ERROR_...') % (...)

If I catch such exception and handle it in my view, everything is OK.

But if I do not catch such exception and it continues until caught in
base.get_response() function, then (probably)
debug.technical_500_response()
instead of reporting localized exception's message complains with error:

    UnicodeEncodeError: 'ascii' codec can't encode character u'\u0161'
    in position 2: ordinal not in range(128)

Is it a bug or did I miss anything. I use release 6693



Thanks, Peter

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to