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 <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Brandon Casey 2009-05-18 18:44:41 -05:00 committed by Junio C Hamano
parent ed1e3985e4
commit 6264500604

View File

@ -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)