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

environments/ppa-mbqj77/deployments/1
Xavier Guimard 17 years ago
parent ccbb0a12e0
commit 96e625a29d
  1. 3
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm

@ -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…
Cancel
Save