Subject: | Wide character in FCGI-0.68_02 |
Date: | Wed, 03 Feb 2010 13:52:56 +0300 |
To: | bug-FCGI [...] rt.cpan.org |
From: | Alexey Slynko <slynko [...] tronet.ru> |
Hi,
I've tried to use new version, but it's doesn't work in my situation.
Example:
#!/usr/bin/perl
use strict;
use warnings;
use encoding 'utf8';
use CGI::Fast;
use CGI::Carp qw/fatalsToBrowser/;
my ($cgi);
while ($cgi = new CGI::Fast) {
$cgi->charset("utf-8");
my $title = "\x{0100}\x{DF}\n";;
print $cgi->header(),
$cgi->start_html(
-title=>$title
),
$cgi->end_html();
}
This simple code produce an error:
Wide character in FCGI::Stream::PRINT at ./fcgi2.pl line 16.