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 15774 UnicodeDecodeError with makemessages Dirk Eschler nobody "Running makemessages in the project folder throws a UnicodeDecodeError here with django-1.3. Everything works fine with django-1.2. {{{ $ ./manage.py makemessages -l de processing language de Traceback (most recent call last): File ""./manage.py"", line 11, in execute_manager(settings) File ""/path/to/django/core/management/__init__.py"", line 438, in execute_manager utility.execute() File ""/path/to/django/core/management/__init__.py"", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File ""/path/to/django/core/management/base.py"", line 191, in run_from_argv self.execute(*args, **options.__dict__) File ""/path/to/django/core/management/base.py"", line 220, in execute output = self.handle(*args, **options) File ""/path/to/django/core/management/base.py"", line 351, in handle return self.handle_noargs(**options) File ""/path/to/django/core/management/commands/makemessages.py"", line 365, in handle_noargs make_messages(locale, domain, verbosity, process_all, extensions, symlinks, ignore_patterns, no_wrap, no_obsolete) File ""/path/to/django/core/management/commands/makemessages.py"", line 233, in make_messages f.write(templatize(src, orig_file[2:])) File ""/path/to/django/utils/translation/__init__.py"", line 127, in templatize return _trans.templatize(src, origin) File ""/path/to/django/utils/translation/trans_real.py"", line 450, in templatize content = u''.join(comment) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 284: ordinal not in range(128) }}} Is this in any way related to the changes made in project level translation handling mentioned in the 1.3 release notes? I'm not sure if i understand them correctly, does it mean that project level should be avoided in favour of app level translations in general? Adding the project locale folder to LOCALE_PATHS doesn't make a difference by the way, same UnicodeDecodeError. " Bug closed Internationalization 1.3 Normal duplicate eschler@… james@… Unreviewed 0 0 0 0 0 0