Skip to content

encoding #96

@pasunboneleve

Description

@pasunboneleve

Hi, Andrew.

λ> printValidAddresses
{id :-> "1992010803", abstract :-> POBoxAddress "3898" "sydney" "nsw" "2001"}
{id :-> "1992010807", abstract :-> POBoxAddress "4164" "sydney" "nsw" "2001"}
{id :-> "1999042444", abstract :-> POBoxAddress "1285" "k,melbourne" "vic" "3001"}
*** Exception: ../data/IPGOD.IPGOD122B_PAT_ABSTRACTS.csv: hGetLine: invalid argument (invalid byte sequence)

How would one change the encoding prior to parsing a CSV file? I thought of decodeLatin1, but there isn't an obvious place to put it.

current commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions