H
howa
Hello, consider my CGI program:
#=======================
use HTML::Entities;
use utf8;
print STDERR encode_entities( $q->param("q") ), "\n";
#=======================
The incoming page was set to UTF8 and the parameter is Chinese UTF8
characters, but the output of the above codes give me:
中å人277
I have already used utf8 and don't know what else I missed.
Any idea?
#=======================
use HTML::Entities;
use utf8;
print STDERR encode_entities( $q->param("q") ), "\n";
#=======================
The incoming page was set to UTF8 and the parameter is Chinese UTF8
characters, but the output of the above codes give me:
中å人277
I have already used utf8 and don't know what else I missed.
Any idea?