Re: Django Templates and BOM (byte order marks)

2006-12-11 Thread Bastos
I've created a script that detect BOM in a directory: http://tiago.zusee.com/blog/wp-content/uploads/2006/11/findbompy.txt Helpfull when you have a lot of files... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Django Templates and BOM (byte order marks)

2006-12-09 Thread Sergey Kirillov
James Bennett написав: > On 12/8/06, Sergey Kirillov <[EMAIL PROTECTED]> wrote: > > For instance I have following templates (!UTF_8_BOM! = EF BB BF): > > Sort of off-topic, but why are you using a BOM in UTF-8? ;) Well, I'm not ;) But I had few legacy templates created in Notepad, and I see that

Re: Django Templates and BOM (byte order marks)

2006-12-08 Thread gabor
Sergey Kirillov wrote: > Greetings, > > While researching strange IE behaviour at some pages of my > Django-powered site I've found that Django does not handle BOM marks > correctly. > > For instance I have following templates (!UTF_8_BOM! = EF BB BF): > > --- base.html > !UTF_8_BOM! Transition

Re: Django Templates and BOM (byte order marks)

2006-12-08 Thread James Bennett
On 12/8/06, Sergey Kirillov <[EMAIL PROTECTED]> wrote: > For instance I have following templates (!UTF_8_BOM! = EF BB BF): Sort of off-topic, but why are you using a BOM in UTF-8? ;) -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~-~--~--

Django Templates and BOM (byte order marks)

2006-12-08 Thread Sergey Kirillov
Greetings, While researching strange IE behaviour at some pages of my Django-powered site I've found that Django does not handle BOM marks correctly. For instance I have following templates (!UTF_8_BOM! = EF BB BF): --- base.html !UTF_8_BOM!http://www.w3.org/TR/html4/loose.dtd";> blah-blah-blah