Skip to content

When importing xml file with encoding "ISO-8859-1" header, it gives error #2

Description

@BharathMG

Getting the following error,

"couldn't parse gpx data: xml: encoding "ISO-8859-1" declared but Decoder.CharsetReader is nil"

Solution would be to add,

d.CharsetReader = charset.NewReaderLabel in gpx.go Parse method?

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