From: Alex Riesen Date: Thu, 14 May 2009 12:55:54 +0000 (+0200) Subject: Use UTF-8 instead of utf8 for backward compatibility X-Git-Tag: v1.6.4-rc0~167 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39d404d13774fac5ce4b7b180d2b8988eb6fd6c7;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t3900-i18n-commit.sh b/t/t3900-i18n-commit.sh index 5dbbcb634..b4ec2b53d 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 expect.utf8 <"$2" && + iconv -f "$3" -t UTF-8 >current.utf8 expect.utf8 <"$2" && test_cmp expect.utf8 current.utf8 ;; esac