add remark to README.rst about needed locale charset

This commit is contained in:
Benjamin Dauvergne 2012-02-10 12:13:00 +01:00
parent 74b259abfa
commit f3a664be4d
1 changed files with 6 additions and 2 deletions

View File

@ -129,7 +129,7 @@ application server. On debian you can put the following content in
<VirtualHost *:80>
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.