On Wed, Feb 11, 2009 at 3:29 PM, Joshua Russo <joshua.rupp...@gmail.com> wrote:
>
> Ok, I'm still having issues.
>
> I'm using Django 1.0.2-final and Python 2.5.4
>
> The models.py starts with the proper encoding string of: # -*- coding:
> utf-8 -*-

Adding that encoding string isn't enough, the other thing you need to be
sure is that the file is really using that encoding (UTF-8 in your
case). It could be you editor created it with a iso-8859-1 encoding and
just adding the # -*- coding: utf-8 -*- header wouldn't solve things.

Using

$ file models.py

can tell you the real encoding, and it isn't the one you expect, you can
re-code it using the iconv utility or re-create the models.py file from
scratch making sure you tell from the beginning your text editor you want
the file to use UTF-8 encoding.

HTH

(sorry for not making this clear in the previous reply)

-- 
 Ramiro Morales

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to