Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by ikegami (Patriarch)
on Nov 11, 2010 at 21:06 UTC ( #870932=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $encoded_xml = encode('UTF-8', $decoded_xml);
    
    ...Pass $encoded_xml to parser...
    
  2. or download this
    use strict;
    use warnings;
    ...
    ...Try to fix problems with unescaped characters...
    
    ...Pass $encoded_xml to parser...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2023-10-02 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?