Skip to content

Commit 949df9c

Browse files
committed
t4041: ensure the utf-8 encoded string really gets stored as utf-8.
Signed-off-by: Pat Thoyts <[email protected]>
1 parent ebec8ad commit 949df9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t4041-diff-submodule-option.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This test tries to verify the sanity of the --submodule option of git diff.
1313

1414
# String "added" in German (translated with Google Translate), encoded in UTF-8,
1515
# used in sample commit log messages in add_file() function below.
16-
added=$(printf "hinzugef\303\274gt")
16+
added=$(printf "hinzugef\303\274gt" | iconv -t utf-8)
1717
add_file () {
1818
(
1919
cd "$1" &&

0 commit comments

Comments
 (0)