Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: HTML::Entities not working

by Corion (Pope)
on Jun 19, 2013 at 09:29 UTC ( #1039749=note: print w/replies, xml ) Need Help??

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...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039749]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2019-02-23 06:40 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (119 votes). Check out past polls.