From 2ccf81dec1fbe4e215ea47700a4e006420318621 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 15 Mar 2015 13:50:28 +0100 Subject: Bug 902395: Enforce utf8 = true for all installations and remove the utf8 parameter r=dkl a=sgreen --- showdependencygraph.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 129964e99..a023dd77d 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -191,9 +191,7 @@ foreach my $k (@bug_ids) { if ($summary ne "" && $cgi->param('showsummary')) { # Wide characters cause GraphViz to die. - if (Bugzilla->params->{'utf8'}) { - utf8::encode($summary) if utf8::is_utf8($summary); - } + utf8::encode($summary) if utf8::is_utf8($summary); $summary = wrap_comment($summary); $summary =~ s/([\\\"])/\\$1/g; push(@params, qq{label="$k\\n$summary"}); -- cgit v1.2.3-24-g4f1b