On Mon, Oct 10, 2011 at 10:03 AM, Bastian Ballmann <bastian.ballm...@notch-interactive.com> wrote: > Hi all, > > I try to use a utf8 string in a Django unit test and have included > # -*- coding: utf-8 -*- > but django-admin.py still complaints there is no encoding.
Is that on the first or second line of your file? If not, python will ignore it, as mentioned in the linked PEP. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.