Code

gitweb: use decode_utf8 directly
authorIsmail Dönmez <ismail@pardus.org.tr>
Tue, 1 May 2007 21:12:13 +0000 (00:12 +0300)
committerJunio C Hamano <junkio@cox.net>
Fri, 4 May 2007 06:22:12 +0000 (23:22 -0700)
commite3ad95a8be82663d27cb501eaf9bad86a30f9cda
tree61a6fa53d7f67aa597574cdf03bee6d94280aca3
parentc256acb8fbd0ac1dddb6ec39aa9b3c816493122c
gitweb: use decode_utf8 directly

Using decode() tries to decode data that is already UTF-8 and
borks, but decode_utf8 from Encode.pm has a built-in safety
against that.

Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl