From e97097d2aa1ed46ee6e6aff3aa15cd3c636a1731 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 5 Mar 2012 18:14:37 +0100 Subject: Added UTF-8 support in CherryPy configuration file --- cfg/cherrypy.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cfg/cherrypy.cfg b/cfg/cherrypy.cfg index 51440d6f..a419504d 100644 --- a/cfg/cherrypy.cfg +++ b/cfg/cherrypy.cfg @@ -10,6 +10,8 @@ engine.timeout_monitor.on = False tools.staticdir.root = os.getcwd() tools.staticdir.on = True tools.staticdir.dir = "." +tools.encode.on = True +tools.encode.encoding = "utf8" [/css] tools.staticdir.on = True @@ -19,4 +21,4 @@ tools.staticdir.match = "(?i)^.+\.css$" [/images] tools.staticdir.on = True tools.staticdir.dir = "img" -tools.staticdir.match = "(?i)^.+\.png$" +tools.staticdir.match = "(?i)^.+\.png$" \ No newline at end of file -- cgit