id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 28251 MultipleObjectMixin,paginate_queryset() crashes with UnicodeDecodeError if InvalidPage message contains non-ASCII Paolo Dente nobody "The new translations files from https://github.com/django/django/commit/afe4edb4eaaad89acefa6b6d0697d6fa67387eea cause an exception with empty pages. For instance, in French you'd get this: **UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)** This is caused by https://github.com/django/django/blob/master/django/views/generic/list.py#L74 - changing **str(e)** with **unicode(e)** fixes the problem for me." Bug closed Generic views 1.11 Release blocker duplicate Paginator i18n Accepted 1 0 0 0 1 0