it is 2019 and there are browsers still defaulting to latin1

This commit is contained in:
Ted Unangst 2019-08-19 04:36:45 -04:00
parent bdda6a5880
commit ed0b6c835d
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ func homepage(w http.ResponseWriter, r *http.Request) {
} else {
w.Header().Set("Cache-Control", "max-age=0")
}
w.Header().Set("Content-Type", "text/html")
w.Header().Set("Content-Type", "text/html; charset=utf-8")
err := readviews.Execute(w, tname, templinfo)
if err != nil {