On Tue, Dec 16, 2008 at 6:06 PM, diogobaeder <diogobae...@gmail.com> wrote:
> > Hi there, > > I'm trying to use accents in a string, inside the Meta properties, but > Python throws the following error: > > SyntaxError: Non-ASCII character '\xc3' in file /home/diogo/sites/ > projetos/diogobaeder/django_site/diogobaeder/../diogobaeder/developer/ > models.py on line 27, but no encoding declared; see > http://www.python.org/peps/pep-0263.html for details > > Already tried u"some accented string" and unicode('some accented > string', 'utf-8'), but none worked. Any clues? > That error message is trying to be so helpful, but apparently to no avail. Go to the link provided in the error message and read the PEP, or if you are in a hurry read the section "Defining the Encoding". Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---