LEMONLDAP::NG : binmod(STDOUT,'utf8') has to be called at each request

This commit is contained in:
Xavier Guimard 2008-11-26 11:20:36 +00:00
parent ccbb0a12e0
commit 96e625a29d

View File

@ -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(@_)