Snippets has posted 5883 posts at DZone. View Full User Profile
Here's a cheap hack to convert UTF8 curly quotes to ASCII (but try to use CPAN module instead of this if you can).
$xml =~ s/\xe2\x80\x99/\'/gs;
$xml =~ s/\xe2\x80\x98/\'/gs;
$xml =~ s/\xe2\x80\x9c/\"/gs;
$xml =~ s/\xe2\x80\x9d/\"/gs;
Discover best practices and the most useful tools for building the ideal integration architecture.
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...