Skip to content

invalid byte sequence in UTF-8 (ArgumentError) #13

@ramieblatt

Description

@ramieblatt

FYI, when we were processing a data file generated with encoding "windows-1252" and it blew up Normalizr with the exception "invalid byte sequence in UTF-8 (ArgumentError)".

We implemented solution 2 in this article as a workaround, which worked fine for our purposes:
https://dev.to/bajena/solving-invalid-byte-sequence-in-utf-8-errors-in-ruby-1f27

But maybe this encoding issue can be address in the gem?

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