aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorYasushi SHOJI <yashi@atmark-techno.com>2008-01-29 21:16:02 +0900
committerJunio C Hamano <gitster@pobox.com>2008-01-29 21:23:57 -0800
commit7720224cebde08186627ab7bdb06018905d84e30 (patch)
tree0a6fe08e4eb5ab37d563eec2f7dcaeddd091071a /perl
parentab989adf6ab32fb80fd42cc95ed0eacb029258fe (diff)
downloadgit-7720224cebde08186627ab7bdb06018905d84e30.tar.gz
git-7720224cebde08186627ab7bdb06018905d84e30.tar.xz
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>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions