in reply to [SOLVED] How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?
Sorry, but ya ain't got nothing detailed enough to be reproducible :|
and PEBKAC ;)
use CGI::Simple; my $q = CGI::Simple->new(); print "Content-type: text/plain\n\n"; print $q->param('text');
Try this
use CGI -utf8; my $q = CGI->new; print $q->header(qw/ -charset UTF-8 / ), $q->start_html, $q->param('unicodes');
|
|---|