From: Brandon Casey Date: Mon, 18 May 2009 23:44:41 +0000 (-0500) Subject: builtin-mailinfo.c: use "ISO8859-1" instead of "latin1" as fallback encoding X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=62645006044c7453439f6ad8dafc984441ac54b6;p=~andy%2Fgit builtin-mailinfo.c: use "ISO8859-1" instead of "latin1" as fallback encoding 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c index c68187e2e..92637ac0b 100644 --- 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)