Jérôme Mahuet %!s(int64=9) %!d(string=hai) anos
pai
achega
f77a2d4524
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frameworks/Haskell/spock/src/Main.hs

+ 1 - 1
frameworks/Haskell/spock/src/Main.hs

@@ -34,7 +34,7 @@ dbConn = PCConn (ConnBuilder (PG.connect creds) PG.close (PoolCfg 5 5 60))
 
 blaze :: MonadIO m => H.Html -> ActionCtxT ctx m a
 blaze h = do
-    setHeader "Content-Type" "text/html"
+    setHeader "Content-Type" "text/html; charset=UTF-8"
     lazyBytes $ renderHtml h
 {-# INLINE blaze #-}