On Wed, 2008-01-09 at 15:12 +0100, Peter Melvyn wrote: > 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
It's a bug. Please open a ticket about it, so we don't forget. Regards, Malcolm -- Two wrongs are only the beginning. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---