Possible locale fix

This commit is contained in:
Dylan 2016-02-10 22:54:07 +11:00
parent e28f873461
commit 8da9015026
1 changed files with 2 additions and 1 deletions

3
fetch
View File

@ -21,6 +21,7 @@
# https://github.com/dylanaraps/ # https://github.com/dylanaraps/
# Speed up script by not using unicode # Speed up script by not using unicode
SYS_LOCALE="$LANG"
export LC_ALL=C export LC_ALL=C
export LANG=C export LANG=C
@ -1703,7 +1704,7 @@ getascii () {
fi fi
# Set locale to get correct padding # Set locale to get correct padding
export LC_ALL="en_US.UTF8" export LC_ALL="$SYS_LOCALE"
# Turn the file into a variable. # Turn the file into a variable.
ascii_strip=$(<"$ascii") ascii_strip=$(<"$ascii")