If you use different characters on your code (comments, strings, etc), such
as é, í, ç or, on your case, you sign the code with your name, 名宏贾, you
need to add:

# -*- coding: utf-8 -*-

on the beginning of the file.

This is a guess about what is happening with your code.
Pasting the entire traceback here will give us a better clue.

For mor info about this:

http://www.python.org/dev/peps/pep-0263/

Thanks!

Duda Nogueira
Gerente de Projetos em Tecnologia
www.dudanogueira.com.br

Celular: +55 31 9985-1271


On Sun, Nov 25, 2012 at 7:10 PM, Sergiy Khohlov <[email protected]> wrote:

> check databse setting. look like your database uses non utf8 encoding
>
> 2012/11/25 Julien Phalip <[email protected]>:
> > Hi,
> >
> > Can you please post the entire traceback?
> >
> > Thanks!
> >
> > Julien
> >
> >
> > On Sunday, November 25, 2012 4:03:11 PM UTC+1, 名宏贾 wrote:
> >>
> >>  I don't know why, editer have default utf-8 setting.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/django-users/-/IO1GwuMHLXQJ.
> >
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to