From ca5d228be6ef20747b6ab425c83938b0d4abb22c Mon Sep 17 00:00:00 2001 From: Hnk Reno Date: Tue, 30 Jun 2015 11:31:43 +0200 Subject: [PATCH] Set PHPs default charset to UTF-8, since we use it. Closes #367. --- setup/web.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/web.sh b/setup/web.sh index 6d19398a..6c0e9a48 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -36,6 +36,10 @@ tools/editconf.py /etc/nginx/nginx.conf -s \ tools/editconf.py /etc/php5/fpm/php.ini -c ';' \ expose_php=Off +# Set PHPs default charset to UTF-8, since we use it. See #367. +tools/editconf.py /etc/php5/fpm/php.ini -c ';' \ + default_charset="UTF-8" + # Bump up PHP's max_children to support more concurrent connections tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \ pm.max_children=8