On Tue, 2007-06-05 at 16:10 +0200, va:patrick.kranzlmueller wrote: > after doing a django-update yesterday, we have \xef\xbb\xbf at the > beginning of every rendered template which leads to strange display > errors in IE and older firefox-versions. > > I figured out that it´s a byte order mark (BOM), but I´m not sure how > to avoid it ...
Nothing in Django has changed recently that would do that (it would have had to be something in the template/ directory). How long since you last did a Django update? What else might have changed? It sounds like the template files are now being loaded as UTF-16 data from disk. Is that possible? If so, you'll have to re-encode them yourself (or switch to using the unicode branch which handles different file encoding from output encoding). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

