LEMONLDAP::NG : binmod(STDOUT,'utf8') has to be called at each request
This commit is contained in:
parent
ccbb0a12e0
commit
96e625a29d
|
@ -17,8 +17,6 @@ our $VERSION = '0.86';
|
|||
|
||||
our @ISA = qw(Lemonldap::NG::Common::CGI Exporter);
|
||||
|
||||
use utf8;
|
||||
binmode(STDOUT, ":utf8");
|
||||
# Constants
|
||||
use constant {
|
||||
PE_REDIRECT => -2,
|
||||
|
@ -73,6 +71,7 @@ our $self; # Safe cannot share a variable declared with my
|
|||
|
||||
# CONSTRUCTOR
|
||||
sub new {
|
||||
binmode(STDOUT, ":utf8");
|
||||
my $class = shift;
|
||||
my $self = $class->SUPER::new();
|
||||
$self->getConf(@_)
|
||||
|
|
Loading…
Reference in New Issue
Block a user