How do I eliminate TT's "Wide character in print" warning ?
Posted
by planetp
on Stack Overflow
See other posts from Stack Overflow
or by planetp
Published on 2010-03-18T09:09:04Z
Indexed on
2010/03/18
9:11 UTC
Read the original article
Hit count: 414
I have this warning every time I run my CGI-script (output is rendered by Template::Toolkit):
Wide character in print at /usr/local/lib/perl5/site_perl/5.8.9/mach/Template.pm line 163.
What's the right way to eliminate it?
I create the tt object using this config:
my %config = (
ENCODING => 'utf8',
INCLUDE_PATH => $ENV{TEMPLATES_DIR},
EVAL_PERL => 1,
}
my $tt = Template->new(\%config);
© Stack Overflow or respective owner