]> diplodocus.org Git - nmh/commitdiff
Set the locale for one of the "pick" invocations to UTF-8, so we can decode
authorKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 01:01:27 +0000 (20:01 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 01:01:27 +0000 (20:01 -0500)
the UTF-8 header correctly in the test.

test/pick/test-pick

index 9345118..ce68325 100755 (executable)
@@ -259,7 +259,7 @@ EOF
 echo 13 >"$expected"
 
 set +e
-pick -subject foobar 13 >"$actual" 2>&1
+LC_CTYPE=en_US.UTF-8 pick -subject foobar 13 >"$actual" 2>&1
 set -e
 check "$expected" "$actual"