From f3a664be4d231a5596bedca3c8b447527f70b8b6 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 10 Feb 2012 12:13:00 +0100 Subject: [PATCH] add remark to README.rst about needed locale charset --- README.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ef5e090..ac9a419 100644 --- a/README.rst +++ b/README.rst @@ -129,7 +129,7 @@ application server. On debian you can put the following content in ServerName docbow.example.com - + DocumentRoot /var/www ProxyPass /static ! ProxyPass / http://localhost:8000/ @@ -144,4 +144,8 @@ application server. On debian you can put the following content in Now run the gunicorn server (it must run as an user which has access to the docbow postgresql database):: - PYTHONPATH=. gunicorn_django -D ./docbow_project/ + LANG=C.UTF-8 PYTHONPATH=. gunicorn_django -D ./docbow_project/ + +You must set a charset to use as file are created with name recevied from user +agents which can contain any unicode character. The locale "C.UTF-8" works in +this case.