]> Lady’s Gitweb - Gitweb/commit
gitweb: Call to_utf8() on input string in chop_and_escape_str()
authorJürgen Kreileder <redacted>
Sat, 17 Dec 2011 09:22:21 +0000 (10:22 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commit1b2c33db144b6b7efb1b35e2b36cddffc660f493537889bf6be9accd5f2f4ea3
tree7c74b859041490123291b25a6040a41ee3f0b8aa5e188b5b1f85039cff1a26d7
parent6c055ceeff0cc211ae353374dd67a814575cf867b1e04ede4eb8a1693f6400d9
gitweb: Call to_utf8() on input string in chop_and_escape_str()

a) To fix the comparison with the chopped string,
   otherwise we compare bytes with characters, as
   chop_str() must run to_utf8() for correct operation
b) To give the title attribute correct encoding;
   we need to mark strings as UTF-8 before outpur

Signed-off-by: Jürgen Kreileder <redacted>
Acked-by: Jakub Narębski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.219783 seconds and 5 git commands to generate.