Commit 7720224
gitweb: Convert generated contents to utf8 in commitdiff_plain
If the commit message, or commit author contains non-ascii, it must be
converted from Perl internal representation to utf-8, to follow what
got declared in HTTP header. Use to_utf8() to do the conversion.
This necessarily replaces here-doc with "print" statements.
Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Acked-by: İsmail Dönmez <ismail@pardus.org.tr>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ab989ad commit 7720224
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5048 | 5048 | | |
5049 | 5049 | | |
5050 | 5050 | | |
5051 | | - | |
5052 | | - | |
5053 | | - | |
5054 | | - | |
5055 | | - | |
| 5051 | + | |
| 5052 | + | |
| 5053 | + | |
| 5054 | + | |
5056 | 5055 | | |
5057 | 5056 | | |
5058 | 5057 | | |
5059 | 5058 | | |
5060 | | - | |
| 5059 | + | |
5061 | 5060 | | |
5062 | 5061 | | |
5063 | 5062 | | |
| |||
0 commit comments