Assuming this is running in CGI you can do
and that ought to work. This is required because even though you are telling the browser the data is in UTF-8, you aren't telling Perl to output UTF-8 unless you add that line. See perlunicode and perlio for more.binmode STDOUT, ':utf8';
Update: It has been so long since I used 5.6 I had forgotten about the good point raised by almut. But for heaven's sake, Perl 5.8.1 was released in 2003.
In reply to Re: Strange behaviour with utf8 and wide chars
by Errto
in thread Strange behaviour with utf8 and wide chars
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |