Skip to content

Commit 39d404d

Browse files
raalkmlgitster
authored andcommitted
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>
1 parent 95405ba commit 39d404d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

t/t3900-i18n-commit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ compare_with () {
1313
'')
1414
test_cmp "$2" current ;;
1515
?*)
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" &&
1818
test_cmp expect.utf8 current.utf8
1919
;;
2020
esac

0 commit comments

Comments
 (0)