[gambit-list] Fwd: fast csv parser (libcsv wrapped for gambit)

david rush kumoyuki at gmail.com
Sat Feb 10 18:22:50 EST 2007


On 2/10/07, Bradley Lucier <lucier at math.purdue.edu> wrote:
> These two don't agree on what the fields should be in all cases.  For
> example, on the 97th record, I get
>
> (...2006 Formula D\303\251 Gen Con Tournament qualifier"
> ..."Some Experience Needed"
> "Formula D\303\251"
> "all  Advanced Rules except time trials"
> "4.50"
> ""
> "40"
> "12")
>
> for bewig and
>
> ("..."2006 Formula D\351 Gen Con Tournament qualifier"
> ..."Some Experience Needed"
> "Formula D\351"
> "all  Advanced Rules except time trials"
> "4.50"
> ""
> "40"
> "12")
>
> for libcsv.  I don't know which is correct (but the \303 characters
> are in the data file).

Well without seeing it in hex (and feeling far too lazy and
comfortable in front of my lovely fireplace to bother checking it
myself) I'd say that this looks like a classic UTF-8 coding issue...

david
--
Once you label me, you negate me
    - Soren Kierkegaard



More information about the Gambit-list mailing list