diff options
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index fb9719547..0b1712d2f 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -73,7 +73,7 @@ sub new { } # Send appropriate charset - $self->charset(Bugzilla->params->{'utf8'} ? 'UTF-8' : ''); + $self->charset('UTF-8'); # Redirect to urlbase/sslbase if we are not viewing an attachment. if ($self->url_is_attachment_base and $script ne 'attachment.cgi') { @@ -378,9 +378,7 @@ sub param { } # Fix UTF-8-ness of input parameters. - if (Bugzilla->params->{'utf8'}) { - @result = map { _fix_utf8($_) } @result; - } + @result = map { _fix_utf8($_) } @result; return wantarray ? @result : $result[0]; } |