Showing 1 changed files with 0 additions and 5 deletions
-5
action/action
... ...
@@ -2,7 +2,6 @@
2 2
 use strict;
3 3
 use warnings;
4 4
 use DBI;
5
-use utf8;
6 5
 use POSIX qw(strftime);
7 6
 #use Data::Dumper;
8 7
 use Email::Send::SMTP::Gmail;
... ...
@@ -44,8 +43,6 @@ if (-r $cfg::config{notification}->{flag}) {
44 43
 }
45 44
 
46 45
 my $dbh = DBI->connect($cfg::config{db}->{driver}, $cfg::config{db}->{user}, $cfg::config{db}->{password}, {'RaiseError' => 1, 'AutoCommit' => 1});
47
-$dbh->{'mysql_enable_utf8'} = 1;
48
-$dbh->do(qq{SET NAMES "utf8"});
49 46
 
50 47
 my $request;
51 48
 my $sth;
... ...
@@ -174,8 +171,6 @@ foreach my $dest (keys(%{$cfg::config{notification}->{to}})) {
174 171
 
175 172
     $data .= $cfg::config{notification}->{to}->{$dest}->{outro};
176 173
 
177
-    utf8::decode($data);
178
-
179 174
     $mail->send(
180 175
             -from=>$cfg::config{notification}{from_infos}{from},
181 176
             -replyto=>$cfg::config{notification}{from_infos}{replyto},