From 35f1ce88e12f8eee0d47fdc69d38cd7a4b12732d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 4 Aug 2005 18:51:22 +0000 Subject: Bug 126266: Use UTF-8 (Unicode) charset encoding for pages and email for NEW installations - Patch by byron jones (glob) r=wurblzap a=justdave --- Bugzilla/CGI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index c2d61780f..f516dd5c6 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -60,8 +60,8 @@ sub new { # Make sure our outgoing cookie list is empty on each invocation $self->{Bugzilla_cookie_list} = []; - # Make sure that we don't send any charset headers - $self->charset(''); + # Send appropriate charset + $self->charset(Param('utf8') ? 'UTF-8' : ''); # Redirect to SSL if required if (Param('sslbase') ne '' and Param('ssl') eq 'always') { -- cgit v1.2.3-24-g4f1b