]> Lady’s Gitweb - Gitweb/commit
gitweb: Convert generated contents to utf8 in commitdiff_plain
authorYasushi SHOJI <redacted>
Tue, 29 Jan 2008 12:16:02 +0000 (21:16 +0900)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
commit60f6e4b1e963c274cdcd4062a6b384772bf586a36fda49e895490102bfc38269
tree6271d64d7b6806d936ba6d3df2fec475b0982b9f43e8b21812bf868b9a9e098e
parent647e0982b1e08395404e8f0bc7b4aee79692793bffa8351065a9443b08744f3d
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 <redacted>
Acked-by: İsmail Dönmez <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.257397 seconds and 4 git commands to generate.