<?xml version="1.0" encoding="windows-1252"?>
<node id="929108" title="Re^2: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma? (&quot;XS&quot;)" created="2011-10-02 02:45:18" updated="2011-10-02 02:45:18">
<type id="11">
note</type>
<author id="546548">
Jim</author>
<data>
<field name="doctext">
&lt;p&gt;I expect there to be an easy way in Perl to use built-in default idioms, to assert that my input and output are in the UTF-8 character encoding form of Unicode, and to use CPAN modules, all at the same time, and without having to know what an "XS module" is.&lt;/p&gt;

&lt;p&gt;Specifically, I want to process many CSV files that I feed to the Perl program via &lt;code&gt;@ARGV&lt;/code&gt;. I want to use the CPAN module Text::CSV_XS to parse the CSV records. I don't want to &lt;code&gt;open&lt;/code&gt; and &lt;code&gt;close&lt;/code&gt; files explicitly; I want Perl to open and close them for me implicitly. I want to continue to use Perl's built-in idioms that permit me to avoid needless extra programming, just as I always have.&lt;/p&gt;
</field>
<field name="root_node">
929103</field>
<field name="parent_node">
929105</field>
</data>
</node>
