From: Dave Miller Date: Tue, 14 May 2024 06:03:46 +0000 (-0400) Subject: Bug 1588175 - Undefined subroutine utf8::SWASHNEW called at Bugzilla/Util.pm line... X-Git-Tag: bugzilla-5.0.4.1~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1631b86eeb52c2f8dac560b7dc6893cdf56ce94c;p=thirdparty%2Fbugzilla.git Bug 1588175 - Undefined subroutine utf8::SWASHNEW called at Bugzilla/Util.pm line 109. (#182) Co-authored-by: Dylan Hardison --- diff --git a/Bugzilla.pm b/Bugzilla.pm index e4772e08b..e8c078cf8 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -11,6 +11,8 @@ use 5.10.1; use strict; use warnings; +BEGIN { eval { utf8->import; require 'utf8_heavy.pl' }; } + # We want any compile errors to get to the browser, if possible. BEGIN { # This makes sure we're in a CGI.