Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: replacing special characters in file

by rupesh (Hermit)
on Aug 08, 2005 at 04:11 UTC ( #481782=note: print w/ replies, xml ) Need Help??


in reply to replacing special characters in file


[juo,
The way I see it, you need to output some printable characters, so that you can (or should be able to) get the original "special" characters for verification.

In such cases, you should look at Mime::Base64 which would encode any character to a printable one based on a 65-character set.To get back the original string all you need to do is decode it. I was having a similar issue a few days ago, and ikegami suggested the same. Hope it works for you as well.


Cheers,
Rupesh.


Comment on Re: replacing special characters in file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-08-21 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls