﻿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
7412	i18n crash on non-ASCII (UTF-8 encoded) doctrings	AV <av0000@…>	nobody	"The Unicode decoding error occured in i18n.py when source file contains non-ASCII docstrings.[[BR]]

Example:[[BR]]

Navigate to yoursite/documentation/models using following model example (the source file is in utf-8 encoding)
{{{
# -*- coding: utf-8 -*-
# ...
class TestModel(models.Model):
    """"""
    Test description with non-ASCII symbols.
    АаБбВвГг
    """"""
}}}

Workaround !#1: use u""""""...."""""" format '''but not on TAGS''' - tag parser is different :([[BR]]

Workaround/patch !#2: patch or change django/templatetags/i18n.py '''!TranslateNode.render''': from translation.ugettext(value) to translation.ugettext(smart_unicode(value))
"		closed	contrib.admin	dev		invalid	i18n utf8 unicode	av0000@…	Unreviewed	1	0	0	0	0	0
