VectorStyler
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    CSV as Data Source does not accept " " escaping

    Scheduled Pinned Locked Moved VectorStyler 1.2 beta
    2 Posts 2 Posters 4.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jkwchui
      last edited by

      In CSV files, when content in a field contains a comma , it is escaped by putting the entire field in quotation.

      id, category, example
      1, animal, dog
      2, fruit, "apple, orange, banana"
      

      VectorStyler sees any CSV files with quotes and calls it an error. This prevents using any field with comma as content. I presume this could be circumvented with JSON as the data source but CSV is popular export from spreadsheets.

      VectorStylerV 1 Reply Last reply Reply Quote 1
      • VectorStylerV Offline
        VectorStyler @jkwchui
        last edited by

        @jkwchui Seems to be a bug, I will try to fix it for the next build.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post