Specify utf-8 as content type charset on renderers
This commit is contained in:
@ -50,7 +50,7 @@ var (
|
||||
)
|
||||
|
||||
func writeHeader(w http.ResponseWriter, code int, contentType string) {
|
||||
w.Header().Set("Content-Type", contentType)
|
||||
w.Header().Set("Content-Type", contentType+"; charset=utf-8")
|
||||
w.WriteHeader(code)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user