Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-09-20 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (175 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!