﻿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
18459	makemessages - problem with Unicode	julio@…	nobody	"Commit 4a10308 from 2012-06-07 broke makemessages:

== git checkout 4a10308 ==

{{{
$ django-admin.py makemessages --all
Traceback (most recent call last):
  File ""/usr/bin/django-admin.py"", line 7, in <module>
    execfile(__file__)
  File ""/django/django/bin/django-admin.py"", line 5, in <module>
    management.execute_from_command_line()
  File ""/django/django/core/management/__init__.py"", line 442, in execute_from_command_line
    utility.execute()
  File ""/django/django/core/management/__init__.py"", line 348, in execute
    version=get_version(),
  File ""/django/django/__init__.py"", line 7, in get_version
    return get_version(*args, **kwargs)
  File ""/django/django/utils/version.py"", line 25, in get_version
    git_changeset = get_git_changeset()
  File ""/django/django/utils/version.py"", line 46, in get_git_changeset
    timestamp = git_show.communicate()[0].partition('\n')[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 14535: ordinal not in range(128)
}}}

== git checkout master (1a10a06) ==
{{{
$ django-admin.py makemessages --all
processing language pt_BR
UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 715460: invalid start byte
}}}

I've tried **`from __future__ import unicode_literals`** but it didn't work.

I'm running Python 2.7.3 on Arch Linux x86_64"	Bug	closed	Internationalization	dev	Normal	invalid	i18n, makemessages, unicode		Unreviewed	0	0	0	0	0	0
