Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

UTF-8: Trying to make sense of form input

by cosmicperl (Chaplain)
on Aug 15, 2009 at 16:44 UTC ( #788911=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Input:  (IS UTF8? No)
    Decoded: ? (IS UTF8? Yes)
    ...
    Entities input: £
    Entities decoded: 
    Entities encoded: £
    
  2. or download this
    Input: £
    Decoded: £
    Encoded: £
    
  3. or download this
    Input: £
    Decoded: 
    Encoded: £
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
        my $ent_encode = encode_entities($octets);
        print "Entities encoded: $ent_encode<br>\n";
    }#if
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-12-18 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls