Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Encode string to HTML

by gepebril69 (Beadle)
on Nov 01, 2013 at 15:22 UTC ( #1060780=note: print w/ replies, xml ) Need Help??


in reply to Re: Encode string to HTML
in thread Encode string to HTML

Thanks hippo

That is very much explaining, so in my case when I want to define unsafe characters I have to use a similar methode.

my $UnsafeChar = 'οι'; print encode_entities(decode ('utf-8', $TestStr), decode ('utf-8', $Un +safeChar)) . "\n";


Comment on Re^2: Encode string to HTML
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-11-24 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (141 votes), past polls