Permalink
Browse files

Specify charset in content type.

  • Loading branch information...
1 parent 064c895 commit 8f22bc9d23f8190fc183be67ff8c5f5030c8b9f9 @mightybyte mightybyte committed Jun 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 project_template/default/src/Common.hs
@@ -66,7 +66,7 @@ templateServe :: TemplateState Snap
-> Snap ()
templateServe orig tsMVar staticState = do
p
- modifyResponse $ setContentType "text/html"
+ modifyResponse $ setContentType "text/html; charset=utf-8"
where
p = ifTop (renderTmpl tsMVar "index") <|>

0 comments on commit 8f22bc9

Please sign in to comment.