diff --git a/framework/h/app.go b/framework/h/app.go index 40e62af..3c095a5 100644 --- a/framework/h/app.go +++ b/framework/h/app.go @@ -251,7 +251,7 @@ func writeHtml(w http.ResponseWriter, element Ren) error { if element == nil { return nil } - w.Header().Set("Content-Type", "text/html") + w.Header().Set("Content-Type", "text/html; charset=utf-8") _, err := fmt.Fprint(w, Render(element, WithDocType())) return err } diff --git a/htmgo-site/md/docs/1_quick-start/3_related_projects.md b/htmgo-site/md/docs/1_quick-start/3_related_projects.md index 43eabb1..d48f151 100644 --- a/htmgo-site/md/docs/1_quick-start/3_related_projects.md +++ b/htmgo-site/md/docs/1_quick-start/3_related_projects.md @@ -1,6 +1,6 @@ ## Other languages and related projects -If you are not a Go user but are interested in the idea of what htmgo is, you might want to check out these other projects: +If you're not a Go user but are interested in the idea of what htmgo is, you might want to check out these other projects: #### Python - [fastht.ml](https://fastht.ml/) - Modern web applications in pure Python, Built on solid web foundations, not the latest fads - with FastHTML you can get started on anything from simple dashboards to scalable web applications in minutes.