From 53d9e19522fc1f907e7576a7dc992dcf21fe1eae Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Fri, 24 Jun 2016 17:17:44 +0200 Subject: Use unicode in CI --- scripts/prepare_build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index 7e71a030901..ee00d88524b 100755 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -28,7 +28,12 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then # Try to install packages retry 'apt-get update -yqqq; apt-get -o dir::cache::archives="vendor/apt" install -y -qq --force-yes \ - libicu-dev libkrb5-dev cmake nodejs postgresql-client mysql-client unzip' + libicu-dev libkrb5-dev cmake nodejs postgresql-client mysql-client unzip locales' + + # Set locale to utf8 + echo "en_US.UTF-8 UTF-8" > /etc/locale.gen + locale-gen + export LC_ALL=en_US.UTF-8 cp config/database.yml.mysql config/database.yml sed -i 's/username:.*/username: root/g' config/database.yml -- cgit v1.2.1