vividvilla / csvtotable

Simple command-line utility to convert CSV files to searchable and sortable HTML table.
MIT License
1.12k stars 116 forks source link

Why does is the HTML not 'active' (jQueryUI, et. al)? #10

Closed infracritical closed 7 years ago

infracritical commented 7 years ago

OK, I was able to use the workaround, then also did the upgrade; in both circumstances, I was able to generate HTML. However...upon taking closer look at the actual output file, it looks like it uses "jQueryUI" and another JavaScript-embedded script. It should be actively displaying the information (sorting, searching, etc.)

I was unable to see this done. What am I doing wrong?

infracritical commented 7 years ago

I have an example up and running: http://unixworks.net/test921/i3.html.

vividvilla commented 7 years ago

Can you please paste or upload sample CSV format here? Seems like you didn't specify proper quotechar or delimiter.

infracritical commented 7 years ago

I reviewed the CSV file against a hex editor, and found the problem. There were several 'ghost characters' in the converted CSV file, despite the fact that I had used "iconv" to format the CSV file as UTF-8. I created a separate sample, and it appears to be working.

The sample is up and running: http://unixworks.net/test921/t.html.

I will go ahead and close this issue; I hope that I wasn't too much of a PITA, but figured that if I ask here, it would help others who may encountered something similar.

Thanks again!