Skip to content

Encoding::CompatibilityError when csv in UTF-16 format  #17

@makarychev

Description

@makarychev

In PR Use String#start_with? to detect leading special character #12 the starts_with_special_character? implementation was changed to use start_with? which throw an error in case CSV in UTF-16LE format

Encoding::CompatibilityError:
       incompatible character encodings: UTF-16LE and UTF-8

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