Skip to content

Does not properly maintain UTF8 encoding #4

@jeremywadsack

Description

@jeremywadsack

It appears that UTF8 encoding is being dropped by fastest-csv and that results are converted to ASCII-encoded instead.

  def test_fastest_csv_utf8
    assert_equal(['セカイモン', '5000'], CsvParser.parse_line('セカイモン,"5000"'))
  end
  1) Failure:
TestUTF8Read#test_fastest_csv_utf8:
<["セカイモン", "5000"]> expected but was
<["\xE3\x82\xBB\xE3\x82\xAB\xE3\x82\xA4\xE3\x83\xA2\xE3\x83\xB3", "5000"]>.

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