HTML::Entities & UTF8

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

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:


I have already used utf8 and don't know what else I missed.

Any idea?

Site Timeline