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

Re^2: Cleaning up non 7-bit Ascii Chars for XML-processing

by liverpole (Monsignor)
on Nov 11, 2010 at 19:20 UTC ( [id://870919]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $field =~ s/([^\x20-\x7E])/sprintf("&#x%X;", ord($1))/eg;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-29 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found