Skip to content

Commit

Permalink
Trying to fix #113
Browse files Browse the repository at this point in the history
  • Loading branch information
milasudril committed Jun 28, 2018
1 parent 1eb4aa3 commit 256d30b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ in_dir="$3"
dest_dir=`dirname "$1"`
target_dir=`echo "$dest_dir" | sed 's,\(.*\)/.*,\1,'`

export LC_ALL=C.UTF-8 #PEP 538
export LANG=C.UTF-8
locals=`locale -a`
for value in C.UTF-8 en_US.UTF-8 C.en_UK.UTF-8; do
if echo $locals | grep $value > /dev/null; then
export LC_ALL=C.UTF-8
break
fi
done

for k in "${@:4}"; do
echo "$k"
Expand Down

0 comments on commit 256d30b

Please sign in to comment.