0

I use django include tag. Then I browse it in chrome, and I found layout of the web page is wrong. I use programmer tool and find some text generated by chrome at the position of django include tag.

The text is " &#65279"

why does django include tag generate text in chrome. How I can fix it?

wenz
  • 31
  • 4

2 Answers2

0

Encode your file with UTF8 without BOM in your editor.

Dave Plug
  • 1,068
  • 1
  • 11
  • 22
0

I use notepad++ and save all the templates in UTF 8 and it fixed the problem for me.

In notepad++ go to Encoding -> UTF8 then save the file.

ctong
  • 185
  • 1
  • 3