Skip to content

Commit

Permalink
t4041: ensure the utf-8 encoded string really gets stored as utf-8.
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  • Loading branch information
patthoyts authored and dscho committed Feb 17, 2014
1 parent f31ded3 commit 2482bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t4041-diff-submodule-option.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This test tries to verify the sanity of the --submodule option of git diff.

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

0 comments on commit 2482bc9

Please sign in to comment.