'utf8' codec can't decode byte

寫了一個新的Django模板文件,運行報錯:html UnicodeDecodeError at /bk/ServerStatus.html 'utf8' codec can't decode byte 0xb6 in position 1285: invalid start byte 最後仔細查了一下,原來是模板文件的編碼,致使報錯。html的編碼是ANSI的,另存爲UTF-8便可。 編碼
相關文章
相關標籤/搜索