pbs/django-filer-tags — pull request #2 by bhodorog (2012-11-21 14:25:16+00:00)
Title: LUN-167 Patch the ContentFile class to work with unicode strings

The original fix aede3b9cfbe05c1099e9e17fe655467205bb5c73 committed on master fixed the problem on when filer uses S3 backends. It's broken for local file system.

This fix patches django.core.files.base.ContentFile to have the self.file with proper unicode encoded content.

As per http://bugs.python.org/issue1548891cStringIO.StringIO constructor is broken, but writelines method works just fine.