I'm not sure if anyone has noticed this, so I thought I'd post.
If I create a string using here syntax:
my $string <<EOF; ... ... EOF print $string;
And $string contains UTF-8 characters they get mangled somehow when they go through the output chain.
However, if I build the same document using
my $string; $string .= "..." $string .= "..." $string .= "..." print $string;
Then everything is good.
Can you reproduce this problem outside of mp2? just a plain perl program?
Any difference if you add:
use Apache::RequestIO (); binmode(STDOUT, ':utf8'); # Apache::RequestRec::BINMODE()
before you do the print. Or if you use $r->print() instead?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html