t4041: ensure the utf-8 encoded string really gets stored as utf-8.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This commit is contained in:
Pat Thoyts
2013-09-02 16:08:23 +01:00
committed by Johannes Schindelin
parent 4de45ba540
commit 701cc0b0e4

View File

@@ -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" &&