Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by ikegami (Pope)
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 musing on the Monastery: (5)
As of 2021-12-01 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (14 votes). Check out past polls.

    Notices?