arivu198314 has asked for the wisdom of the Perl Monks concerning the following question:
I'm wondering this object is working or not, because I'm sending the input as UTF-8 characters, but the twig is returning back as junk, see below for more...
Input:
<title>Division II the Sources of Lawyers’ Legal and Ethical Duties</t +itle>
Output: the Original symbol replaced by entity values, its actually two small boxes in the original output
<title>The Sources of Lawyers’ Legal and Ethical Duties</title>My bit of code is below
use open qw/:std :utf8/; XML::Twig->new(keep_encoding=>1)
It would be great if anyone give a needful solution for this
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::Twig (keep_encoding)
by mirod (Canon) on May 07, 2012 at 15:41 UTC | |
by arivu198314 (Sexton) on May 08, 2012 at 05:38 UTC | |
Re: XML::Twig (keep_encoding)
by zwon (Abbot) on May 07, 2012 at 14:39 UTC |