author | Brandon Casey <casey@nrlssc.navy.mil> | |
Mon, 18 May 2009 23:44:40 +0000 (18:44 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 19 May 2009 03:53:14 +0000 (20:53 -0700) | ||
commit | ed1e3985e445e4cb4558056f8a31c366f2bf2634 | |
tree | 440b663aae7a33222b10fe90eab16af8fb2f8993 | tree | snapshot |
parent | 330db18c0277dcfcf322bb61c688acfb5ddf3867 | commit | diff |
builtin-mailinfo.c: compare character encodings case insensitively
When converting between character encodings, git tests whether the "from"
encoding and the "to" encoding have the same name. git should perform this
test case insensitively so that e.g. utf-8 is not seen as a different
encoding than UTF-8.
Additionally, it is not necessary to call tolower() anymore on the encodings
extracted from the mail message.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When converting between character encodings, git tests whether the "from"
encoding and the "to" encoding have the same name. git should perform this
test case insensitively so that e.g. utf-8 is not seen as a different
encoding than UTF-8.
Additionally, it is not necessary to call tolower() anymore on the encodings
extracted from the mail message.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c | diff | blob | history |