summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed1e398)
raw | patch | inline | side by side (parent: ed1e398)
author | Brandon Casey <casey@nrlssc.navy.mil> | |
Mon, 18 May 2009 23:44:41 +0000 (18:44 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 19 May 2009 03:53:15 +0000 (20:53 -0700) |
Some platforms do not understand the character encoding "latin1" which is
another name for "ISO8859-1". So use "ISO8859-1" instead which all tested
platforms understand.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
another name for "ISO8859-1". So use "ISO8859-1" instead which all tested
platforms understand.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c | patch | blob | history |
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index c68187e2e937704bfa8382950151e78349901345..92637ac0bae82d0b88e267b572a51a75299cda5c 100644 (file)
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
@@ -480,7 +480,7 @@ static const char *guess_charset(const struct strbuf *line, const char *target_c
if (is_utf8(line->buf))
return NULL;
}
- return "latin1";
+ return "ISO8859-1";
}
static void convert_to_utf8(struct strbuf *line, const char *charset)