Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

"ISO-8859-1 0x80-0xFF" and chr()

by remiah (Hermit)
on Mar 23, 2012 at 10:50 UTC ( [id://961193]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #encode char to byte for print
    print encode('UTF-8', $decoded)
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #encode char to byte for print
    print encode('UTF-8', $decoded);
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #now you can encode char to byte for print
    print encode('UTF-8', $chr);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found