From 69aab48f12fb73b654b46fa243026224df98dfe9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 15 Jun 2017 16:03:18 -0700 Subject: [PATCH] Set client_encoding to UTF8 --- debian/resources/postgresql/bdr.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/resources/postgresql/bdr.sh b/debian/resources/postgresql/bdr.sh index 3b753ff..a2d7ea8 100755 --- a/debian/resources/postgresql/bdr.sh +++ b/debian/resources/postgresql/bdr.sh @@ -95,6 +95,9 @@ systemctl restart postgresql cwd=$(pwd) cd /tmp +#set client encoding +sudo -u postgres psql -c "SET client_encoding = 'UTF8';"; + #add the database users and databases sudo -u postgres psql -c "CREATE DATABASE fusionpbx;"; sudo -u postgres psql -c "CREATE DATABASE freeswitch;";