it is 2019 and there are browsers still defaulting to latin1
This commit is contained in:
parent
bdda6a5880
commit
ed0b6c835d
2
honk.go
2
honk.go
|
@ -194,7 +194,7 @@ func homepage(w http.ResponseWriter, r *http.Request) {
|
||||||
} else {
|
} else {
|
||||||
w.Header().Set("Cache-Control", "max-age=0")
|
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)
|
err := readviews.Execute(w, tname, templinfo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue