I' am on ColdFusion 11. I' am using the following code to loop over a CSV File and output the first row in the loop.
<cffile action="read" file="C:\inetpub\wwwroot\test\file.csv" variable="csvfile">
<cfloop index="index" list="#csvfile#" delimiters="#chr(10)##chr(13)#">
<cfoutput>#listgetAt('#index#',1, ',')#</cfoutput>
</cfloop>
It's outputting something strange characters. Here is the screenshot.
My CSV Structure
Please help!