﻿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
19367	ContentFile fails to save with filesystem storage when initialized with unicode string	Alexey Boriskin	nobody	"Attached test fails for me on python 2.7 with the following traceback:

{{{
Traceback (most recent call last):
  File ""/Users/voidus/Documents/workspace/django-trunk/tests/regressiontests/file_storage/tests.py"", line 590, in test_content_saving
    self.storage.save('unicode.txt', ContentFile(""español""))
  File ""/Users/voidus/Documents/workspace/django-trunk/django/core/files/storage.py"", line 48, in save
    name = self._save(name, content)
  File ""/Users/voidus/Documents/workspace/django-trunk/django/core/files/storage.py"", line 206, in _save
    _file.write(chunk)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 4: ordinal not in range(128)

}}}"	Bug	closed	File uploads/storage	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
