please look details about on [1]. if you put # -*- coding: utf-8 -*- on sources and config files for django your string "português" will be automatically handled.
regards. [1] http://docs.python.org/2/howto/unicode.html 2014/1/22 Henrique Romano <[email protected]> > Hi, > > On Wed, Jan 22, 2014 at 12:37 AM, gilberto dos santos alves < > [email protected]> wrote: > >> please see that it is python directive not django. for all sources it is >> a good practive for all we that use pt-br utf-8 explicit this on second >> line of file python code >> >> # -*- coding: utf-8 -*- >> >> > Specyfing the encoding of the file don't make strings unicode > automatically, therefore doing it won't solve the problem. I think the > problem is still relevant. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CA%2BEHudJHqD4w%2B3ByRq8v4Mu6wbQ2DR0LqvNOJUyLfU_V8fZkGA%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- gilberto dos santos alves +55.11.98646-5049 sao paulo - sp - brasil -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAP9G-NLpjBRfs83NvQ3gCYtD2NuR6Ye8DgHbKd%2B0OynGM3RXAw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
