http://www.perlmonks.org?node_id=1039749


in reply to Re^2: HTML::Entities not working
in thread HTML::Entities not working

The problem seems not to be with HTML::Entities:

> perl -MHTML::Entities=decode_entities -e "print length decode_entiti +es('社論')" 2

As you've been told before, you will need to find out what encoding the browser uses to send your input data to your script. This is not necessarily easy to enforce. One good approach is to use <meta http-equiv="Content-Type" ... tags on every HTML page, no matter where it is served from.

Replies are listed 'Best First'.
Re^4: HTML::Entities not working
by vasanthgk91 (Sexton) on Jun 20, 2013 at 05:42 UTC

    Thank u ..I Got the output...