author | Junio C Hamano <junkio@cox.net> | |
Mon, 28 Nov 2005 00:22:16 +0000 (16:22 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 28 Nov 2005 00:26:50 +0000 (16:26 -0800) | ||
commit | 650e4be59b9f385f56e5829d97d09e8440f174b8 | |
tree | dab00e61bbd43be526bce908d4142d7c80d7a325 | tree | snapshot |
parent | 4e72dcec89c7cda7022d4ec2dd686e77deb5376e | commit | diff |
mailinfo: allow -u to fall back on latin1 to utf8 conversion.
When the message body does not identify what encoding it is in,
-u assumes it is in latin-1 and converts it to utf8, which is
the recommended encoding for git commit log messages.
With -u=<encoding>, the conversion is made into the specified
one, instead of utf8, to allow project-local policies.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When the message body does not identify what encoding it is in,
-u assumes it is in latin-1 and converts it to utf8, which is
the recommended encoding for git commit log messages.
With -u=<encoding>, the conversion is made into the specified
one, instead of utf8, to allow project-local policies.
Signed-off-by: Junio C Hamano <junkio@cox.net>
mailinfo.c | diff | blob | history |