diff options
-rw-r--r-- | cmd/blog/blog.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/blog/blog.go b/cmd/blog/blog.go index 12a42b8..d1fa506 100644 --- a/cmd/blog/blog.go +++ b/cmd/blog/blog.go @@ -384,7 +384,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "%v(%s)", p, s.jsonFeed) return } - w.Header().Set("Content-type", "application/json") + w.Header().Set("Content-type", "application/json; charset=utf-8") w.Write(s.jsonFeed) return default: |