Re: Django encoding

2010-05-05 Thread Karen Tracey
On Wed, May 5, 2010 at 6:17 AM, Lukáš wrote: > Hey, > > I have a little problem with django encoding. I have got everything in > the DB set as utf8. Now when I get them from db with django, the > encoding gets broken. For some reason django "thinks" (maybe knows) &g

Django encoding

2010-05-05 Thread Lukáš
Hey, I have a little problem with django encoding. I have got everything in the DB set as utf8. Now when I get them from db with django, the encoding gets broken. For some reason django "thinks" (maybe knows) the data is latin1, which wouldnt be a problem if I would tell him to use lat

Re: Hi, i have been having trouble with django encoding...help, please!

2006-11-04 Thread Italo Maia
Yeap, the problem was that my templates were not being saved as utf-8. Doing that, problem solved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: Hi, i have been having trouble with django encoding...help, please!

2006-11-04 Thread orestis
Make sure that the page is actually encoded in UTF-8. Open it in notepad, then save it again chooding UTF-8 in the encoding drop down. Then open it again and see if it is displayed correctly: a) In notepad b) In a browser (statically served) I had zero problems with django and encodings, I had

Hi, i have been having trouble with django encoding...help, please!

2006-11-04 Thread Italo Maia
Hi, i'm brasilian, and i have had a encoding problem with django. See, i have this page: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; > Ol� mundo and when i tell django to render it, the "�" of "Ol� mundo" becames a "?". Settings language code