<div>Loaded the latest from </div><div><br></div><div><a href="http://www.squeaksource.com/CSV">http://www.squeaksource.com/CSV</a></div><div><br></div><div>Did...</div><div><br></div>rows := CSVParser parse: (FileStream readOnlyFileNamed: '/Users/casey/Desktop/SCDB_2010_01_justiceCentered_Vote.csv')<br clear="all">
<br><div>Got...</div><div><br><div>"Error: invalid utf8 input detected"</div><div><br></div><div>Relevant region of code might be...</div><div><br></div><div>MultiByteFileStream>>next<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>| char secondChar state |</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>char := converter nextFromStream: self.</div><div><br></div><div><br></div><div>converter is a UTF8TextConverter. Wondering if maybe I need a different text converter? Given that this is a CSV file, I'm thinking the system might be expecting UTF-8 where it's actually getting ASCII. The CSV package hasn't had any attention in a while, so that makes some sense (IIRC there was a shift to UTF-8 not very long ago, no?)</div>
<div><br></div><div>If anyone is wondering, I'm playing with an idea around dynamic data-centric web interfaces:) and need some raw data to represent, hence the CSV file.</div><div><br></div><div>Any ideas?</div>-- <br>
Casey Ransberger<br>
</div></div>