try string.encode('latin1')
2011/9/20 Samuel Mac <mac.o...@gmail.com> > Hi, > I've been searching for older threads but I can't find the solution, > so I decided to ask you. > > I have a problem with the encoding. For example, in the menu.py file, > one of my fields is: > (("Área Téncica"),False,URL('default','vision_casos'),[]), > But when I run the aplication, it is showed as: "?rea T?cnica" > > > I set "# -*- coding: utf-8 -*- " on the menu.py header, but still > doesn't work. I have the same problem on the "response.flash" item. > It's a little bit enoying... > > Thanks you