author | Yasushi SHOJI <yashi@atmark-techno.com> | |
Tue, 29 Jan 2008 12:16:02 +0000 (21:16 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jan 2008 05:23:57 +0000 (21:23 -0800) | ||
commit | 7720224cebde08186627ab7bdb06018905d84e30 | |
tree | 0a6fe08e4eb5ab37d563eec2f7dcaeddd091071a | tree | snapshot |
parent | ab989adf6ab32fb80fd42cc95ed0eacb029258fe | commit | diff |
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>
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>
gitweb/gitweb.perl | diff | blob | history |