Lines containing non-ascii data are skipped when importing data from CSV

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Describe the bug

      Lines with non-ascii characters seems to be skipped when importing data from a CSV.

      To Reproduce

      1. Create a CSV named "Person.csv"
        ```csv
        name,age
        Alice,17
        Bob,30
        Kræn,30
        Charlie,65
        Gäää,10
        ```
      2. Go to "File" → "Create Realm from" → "csv".
      3. Select the "Person.csv"
      4. See how only Alice, Bob and Charlie makes it into the final Realm file.

      Expected behavior
      All five rows should get imported.

      Versions:

      • OS: Mac (probably N/A)
      • Studio Version 3.8.1
      • Realm Object Server version N/A

      Additional context
      I found this trying to reproduce another issue with importing non-ascii characters: https://forum.realm.io/t/realm-studio-not-importing-diacritics-from-csv-file/2933

      See the data importer source-code:
      https://github.com/realm/realm-studio/blob/master/src/services/data-importer/csv/CSVDataImporter.ts

              Assignee:
              Unassigned
              Reporter:
              Unito Sync Bot
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: