combine-diff: better hunk splitting.
[gitweb.git] / mailinfo.c
index 9f95f37651e2ce5a3930051fe875f1c16ede97c2..0265a29a3855902e25e44099663c2973bbe9f53e 100644 (file)
@@ -472,7 +472,7 @@ static void convert_to_utf8(char *line, char *charset)
        char *in, *out;
        size_t insize, outsize, nrc;
        char outbuf[4096]; /* cheat */
-       static char latin_one[] = "latin-1";
+       static char latin_one[] = "latin1";
        char *input_charset = *charset ? charset : latin_one;
        iconv_t conv = iconv_open(metainfo_charset, input_charset);