X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pretty.c;h=e5328dab5b2978d90d20f47ed799782e7b2fb63b;hb=900a5d075e8b48025439966dc3863189874bae3b;hp=a0ef356558f4cdb148010f1b47dbd3fcc363d8ba;hpb=5e04a1ee33f82051668f09d73cf16348169e7f1f;p=git.git diff --git a/pretty.c b/pretty.c index a0ef35655..e5328dab5 100644 --- a/pretty.c +++ b/pretty.c @@ -284,7 +284,7 @@ static char *replace_encoding_header(char *buf, const char *encoding) static char *logmsg_reencode(const struct commit *commit, const char *output_encoding) { - static const char *utf8 = "utf-8"; + static const char *utf8 = "UTF-8"; const char *use_encoding; char *encoding; char *out; @@ -881,7 +881,7 @@ char *reencode_commit_message(const struct commit *commit, const char **encoding ? git_log_output_encoding : git_commit_encoding); if (!encoding) - encoding = "utf-8"; + encoding = "UTF-8"; if (encoding_p) *encoding_p = encoding; return logmsg_reencode(commit, encoding);