From 8da9015026295bab9361b7af23a0f0b3c3b549fb Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 10 Feb 2016 22:54:07 +1100 Subject: [PATCH] Possible locale fix --- fetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index c10aa5fa..e4baa055 100755 --- a/fetch +++ b/fetch @@ -21,6 +21,7 @@ # https://github.com/dylanaraps/ # Speed up script by not using unicode +SYS_LOCALE="$LANG" export LC_ALL=C export LANG=C @@ -1703,7 +1704,7 @@ getascii () { fi # Set locale to get correct padding - export LC_ALL="en_US.UTF8" + export LC_ALL="$SYS_LOCALE" # Turn the file into a variable. ascii_strip=$(<"$ascii")