Use django.utils.encoding.force_text instead