]> 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 934511893250d9c6a958a03de0eed3bd614c3419..ce68325d0b496c44f22e5f04c08a4cc66b060d56 100755 (executable)
@@ -259,7 +259,7 @@ EOF
 echo 13 >"$expected"
 
 set +e
 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"
 
 set -e
 check "$expected" "$actual"