Permalink
Browse files

Added default character encoding of UTF-8

  • Loading branch information...
1 parent f10e9c1 commit edf7406cb053c96aaad3fb320742941acb709914 @weavejester committed Jul 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compojure/response.clj
@@ -17,7 +17,7 @@
String
(render [body _]
(-> (response body)
- (content-type "text/html")))
+ (content-type "text/html; charset=utf-8")))
APersistentMap
(render [resp-map _]
(merge (response "") resp-map))

0 comments on commit edf7406

Please sign in to comment.