@matheusbsbs / matheus-bagliano / commits / 39d404d137
Fork 0

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>

Alex Riesen committed May 14, 2009 at 14:55 UTC 39d404d13774fac5ce4b7b180d2b8988eb6fd6c7
1 file changed +2 -2
t/t3900-i18n-commit.sh
+2 -2
@@ -13,8 +13,8 @@ compare_with () {
13 '')
14 test_cmp "$2" current ;;
15 ?*)
16 - iconv -f "$3" -t utf8 >current.utf8 <current &&
17 - iconv -f "$3" -t utf8 >expect.utf8 <"$2" &&
16 + iconv -f "$3" -t UTF-8 >current.utf8 <current &&
17 + iconv -f "$3" -t UTF-8 >expect.utf8 <"$2" &&
18 test_cmp expect.utf8 current.utf8
19 ;;
20 esac