From 38b8cc309c7960a312f375b60dad41ef17ba2739 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Apr 2015 16:01:04 +0100 Subject: LANG, LC_*: Consistently set required LC_* env vars --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index e5c8eab..3a79bb6 100755 --- a/dgit +++ b/dgit @@ -935,7 +935,7 @@ sub sshpsql ($$$) { my @rows; my @cmd = (access_cfg_ssh, $userhost, access_runeinfo("ssh-psql $runeinfo"). - " export LANG=C;". + " export LC_MESSAGES=C; export LC_CTYPE=C;". " ".shellquote qw(psql -A), $dbname, qw(-c), $sql); printcmd(\*DEBUG,$debugprefix."|",@cmd) if $debug>0; open P, "-|", @cmd or die $!; -- cgit v1.2.3