diff options
author | cedricbonhomme <devnull@localhost> | 2012-03-05 18:14:37 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-03-05 18:14:37 +0100 |
commit | e97097d2aa1ed46ee6e6aff3aa15cd3c636a1731 (patch) | |
tree | 2f71086fb6e4b4f5c2e4d28fa3129d3392918f8d /cfg/cherrypy.cfg | |
parent | Added functions to delete a feed and an article. (diff) | |
download | newspipe-e97097d2aa1ed46ee6e6aff3aa15cd3c636a1731.tar.gz newspipe-e97097d2aa1ed46ee6e6aff3aa15cd3c636a1731.tar.bz2 newspipe-e97097d2aa1ed46ee6e6aff3aa15cd3c636a1731.zip |
Added UTF-8 support in CherryPy configuration file
Diffstat (limited to 'cfg/cherrypy.cfg')
-rw-r--r-- | cfg/cherrypy.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
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 |