Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Cleaning up non 7-bit Ascii Chars for XML-processing

by liverpole (Monsignor)
on Nov 11, 2010 at 18:47 UTC ( #870912=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub xml_compliance {
        my ($self, $field) = @_;
    ...
        $field =~ s/'/'/g;
        return $field;
    }
    
  2. or download this
        Entity: line 15: parser error : Input is not proper UTF-8, indicat
    +e encoding !
    
  3. or download this
    sub xml_compliance {
        my ($self, $field) = @_;
    ...
    
        return $fixed;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2022-01-26 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?