Giter VIP home page Giter VIP logo

Comments (5)

 avatar commented on August 28, 2024 2

I had got the same problem. I found out it's not the fault of the javascript code. It's the fault of the server serving the csv file. It responds with mime type: "text/csv", but it has to be "text/csv; charset=iso-8859-1"
In my case I had to add "AddCharset ISO-8859-1 .csv" to the Apache config. So with this solution, you don't have to convert the csv files from ISO-8859 to UTF-8.

from csv-to-html-table.

derekeder avatar derekeder commented on August 28, 2024

@ocvninfo I haven't been able to reproduce this. Could you point me to a CSV file this happens on?

from csv-to-html-table.

axi92 avatar axi92 commented on August 28, 2024

test.zip
@derekeder

from csv-to-html-table.

dupls avatar dupls commented on August 28, 2024

I got around this with Notepad++

  1. Use notepad++ to create a new UTF-8 text file - myfile-UFT8.csv
  2. Save existing myfile.xls spreadsheet as csv - myfile.csv
  3. Open myfile.csv in notepad++, select all content and copy.
  4. Paste into myfile-UFT8.csv.
  5. Save
    And upload into the data folder.
    Voila!

from csv-to-html-table.

derekeder avatar derekeder commented on August 28, 2024

closing as the solution is unrelated to this repository. thanks @ghost for posting a fix!

from csv-to-html-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.