Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: converting tiny binary strings for internet transmission

( #155216=categorized answer: print w/ replies, xml ) Need Help??

Q&A > strings > converting tiny binary strings for internet transmission contributed by Anonymous Monk

my $printable = unpack "H*", $string;
Or to UUencode as you mentioned in your question:
my $printable = unpack "u*", $string;

Comment on Answer: converting tiny binary strings for internet transmission
Select or Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-07-02 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (30 votes), past polls