<?xml version="1.0" encoding="windows-1252"?>
<node id="969259" title="XML::Twig (keep_encoding)" created="2012-05-07 09:37:41" updated="2012-05-07 09:37:41">
<type id="115">
perlquestion</type>
<author id="862545">
arivu198314</author>
<data>
<field name="doctext">
&lt;p&gt;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...&lt;/p&gt;
&lt;p&gt;Input:&lt;/p&gt;
&lt;code&gt;
&lt;title&gt;Division II the Sources of Lawyers’ Legal and Ethical Duties&lt;/title&gt;
&lt;/code&gt;
&lt;p&gt;Output: the Original symbol replaced by entity values, its actually two small boxes in the original output&lt;/p&gt;
&lt;code&gt;&lt;title&gt;The Sources of Lawyersâ&amp;#128;&amp;#153; Legal and Ethical Duties&lt;/title&gt;&lt;/code&gt;
&lt;p&gt;My bit of code is below&lt;/p&gt;
&lt;code&gt;use open qw/:std :utf8/;
XML::Twig-&gt;new(keep_encoding=&gt;1)&lt;/code&gt;
&lt;p&gt;It would be great if anyone give a needful solution for this&lt;/p&gt;

</field>
</data>
</node>
