mirroring: choose a better UTF-8 locale
commit57adc03c810bedd39ed49b545e7d02525045704e
authorKyle J. McKay <mackyle@gmail.com>
Sat, 27 Sep 2014 07:10:16 +0000 (27 00:10 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 27 Sep 2014 07:10:16 +0000 (27 00:10 -0700)
tree92bcbcffac27a9bd70156f8314a0c2d8ed24b127
parenta3954c1cac2f689cf292e2a48e0df585406b7613
mirroring: choose a better UTF-8 locale

Since 8331505e we set a UTF-8 locale so that some of the fast
import providers *cough* python *cough* won't unnecessarily
mangle characters from the source repository when generating
the fast-export stream.

For this to work, however, the chosen UTF-8 locale MUST be one
listed in the `locale -a` output.

Parse the `locale -a` output and choose a suitable UTF-8 locale
instead of assuming that there is any well-known UTF-8 locale
that will work everywhere.
jobd/update.sh
shlib.sh
taskd/clone.sh