From efc810fb62f2061e025ab48e5e21a830a27d838d Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Mon, 31 Aug 2015 12:15:33 -0600 Subject: [PATCH] Set UTF8 fo LC_ALL in Vagrant environment --- puphpet/files/exec-always/empty | 0 puphpet/files/exec-always/set-local.sh | 4 ++++ 2 files changed, 4 insertions(+) delete mode 100644 puphpet/files/exec-always/empty create mode 100755 puphpet/files/exec-always/set-local.sh diff --git a/puphpet/files/exec-always/empty b/puphpet/files/exec-always/empty deleted file mode 100644 index e69de29..0000000 diff --git a/puphpet/files/exec-always/set-local.sh b/puphpet/files/exec-always/set-local.sh new file mode 100755 index 0000000..50c8f30 --- /dev/null +++ b/puphpet/files/exec-always/set-local.sh @@ -0,0 +1,4 @@ +#!/bin/bash +echo "Setting locale to fix encoding" +sh -c "echo 'LC_ALL=en_US.UTF-8' >> /etc/environment" +echo "done setting locale"