summaryrefslogtreecommitdiff
path: root/t/t3900-i18n-commit.sh
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2009-05-14 12:55:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-17 02:43:29 (GMT)
commit39d404d13774fac5ce4b7b180d2b8988eb6fd6c7 (patch)
tree372d4884ad26e3c183857df7ac758d9e1de9a23b /t/t3900-i18n-commit.sh
parent95405ba6cf7adeaa4a066e8a3a1b76b73f7b9341 (diff)
downloadgit-39d404d13774fac5ce4b7b180d2b8988eb6fd6c7.zip
git-39d404d13774fac5ce4b7b180d2b8988eb6fd6c7.tar.gz
git-39d404d13774fac5ce4b7b180d2b8988eb6fd6c7.tar.bz2
Use UTF-8 instead of utf8 for backward compatibility
An old iconv (GNU libiconv 1.11) does not know about utf8, it does know UTF-8 though, which is also understood by all newer iconv implementations. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3900-i18n-commit.sh')
-rwxr-xr-xt/t3900-i18n-commit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3900-i18n-commit.sh b/t/t3900-i18n-commit.sh
index 5dbbcb6..b4ec2b5 100755
--- a/t/t3900-i18n-commit.sh
+++ b/t/t3900-i18n-commit.sh
@@ -13,8 +13,8 @@ compare_with () {
'')
test_cmp "$2" current ;;
?*)
- iconv -f "$3" -t utf8 >current.utf8 <current &&
- iconv -f "$3" -t utf8 >expect.utf8 <"$2" &&
+ iconv -f "$3" -t UTF-8 >current.utf8 <current &&
+ iconv -f "$3" -t UTF-8 >expect.utf8 <"$2" &&
test_cmp expect.utf8 current.utf8
;;
esac