From 86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 29 Feb 2016 19:34:34 +0100 Subject: Bug 1136137: Require Perl 5.14 r=dkl --- Bugzilla/Comment.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Bugzilla/Comment.pm') diff --git a/Bugzilla/Comment.pm b/Bugzilla/Comment.pm index 7d7ac0d80..d995d4509 100644 --- a/Bugzilla/Comment.pm +++ b/Bugzilla/Comment.pm @@ -7,7 +7,7 @@ package Bugzilla::Comment; -use 5.10.1; +use 5.14.0; use strict; use warnings; @@ -447,8 +447,6 @@ sub _check_thetext { # XXX - Once we use utf8mb4 for comments, this hack for MySQL can go away. state $is_mysql = Bugzilla->dbh->isa('Bugzilla::DB::Mysql') ? 1 : 0; if ($is_mysql) { - # Perl 5.13.8 and older complain about non-characters. - no warnings 'utf8'; $thetext =~ s/([\x{10000}-\x{10FFFF}])/"\x{FDD0}[" . uc(sprintf('U+%04x', ord($1))) . "]\x{FDD1}"/eg; } -- cgit v1.2.3-24-g4f1b