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!<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> blah-blah-blah --- and --- page.html !UTF_8_BOM! {% extends "base.html" %} blah-blah-blah --- If I will render page.html output will contain TWO byte order marks: !UTF_8_BOM!!UTF8_BOM!<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ... Of course I can fix this by introducing custom middleware, but I think problem should be handled at template loader level. Any comments? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
