<?xml version="1.0" encoding="windows-1252"?>
<node id="1000692" title="Re: Perl Issue - File downloaded in windows has a Control M character in it??" created="2012-10-24 15:08:54" updated="2012-10-24 15:08:54">
<type id="11">
note</type>
<author id="980564">
aitap</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;blockquote&gt;After our troubleshooting, we found out that the file downloaded by newer version come with empty rows between data, since the .csv files came with spaces (empty rows), it is not being processed and fails. &lt;/blockquote&gt;
If a UNIX-newlined text file is read as DOS-newlined textfile, it looks like there is no newlines at all because DOS newline is "\r\n" when UNIX newline is just "\n".&lt;/p&gt;

&lt;p&gt;So there is no way of empty lines appearing because of UNIX-newlined file being viewed as DOS-newlined.

Can you provide a small hexdump of a damaged file?&lt;/P&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-980564"&gt;
Sorry if my advice was wrong.
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1000682</field>
<field name="parent_node">
1000682</field>
</data>
</node>
