Comments (3)
It appears that this was an issue caused by french characters (é, à, etc.).
FireFox and Chrome handled these characters without any problems but IE
continued to fail, regardless of any charset used with the ajax call.
Stripping the file of any french characters appears to resolve the issue. It
would be much appreciated if further support could be implemented to prevent
this from being an issue as additional steps need to be taken now when
generating the CSV file to ensure there are no French characters.
Original comment by [email protected]
on 8 Apr 2014 at 1:15
from jquery-csv.
Are you reading the data from a file or an AJAX request? If so, are you setting
the encoding to utf8.
AFAIK, the parser should work with utf8. If it's not working with utf8 then
perhaps a change can be made to fix the issue.
Excluding french-specific chars shouldn't be necessary
Original comment by [email protected]
on 29 May 2014 at 3:05
from jquery-csv.
It appears that -- in older versions of IE -- if you don't force Internet
Explorer to use the UTF8 encoding, it will default to whatever language the
browser client uses. For example, if you're using a french version of IE the
browser will default to using a french-specific encoding.
You may try to set the encoding explicitly in the HTML header with:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Source: [UTF-8 encoding does not work properly with Internet Explorer but works
perfectly with Mozilla Firefox](http://stackoverflow.com/q/9999381/290340)
Original comment by [email protected]
on 29 May 2014 at 3:10
from jquery-csv.
Related Issues (20)
- doesn't seem to recoginse end of line properly in some cases. HOT 1
- CR line ending are not well treated HOT 1
- Typo in basic-usage.html (fixed in 0.8.0) HOT 2
- Enhancement: Parse CSV in a thread using settimeout HOT 3
- 배열의 기본 속성값(remove)이 포함 됩니다. HOT 1
- Karma test fails - HOT 2
- Failures on test.html file HOT 2
- colNum not reset when onParseValue callback called
- Export $ globally in browser when not already set
- Using Zurb Foundation 3 causing an error HOT 3
- $.csv.toObjects return garbage value HOT 3
- Parse doesn't handle quotes in the CSV, even if escaped HOT 3
- Hooks relying on a return value of false to skip entries makes parsing values that resolve to false impossible
- CSV file created with Excel for Mac fails HOT 3
- Uncaught ReferenceError: require is not defined
- Generate Motion chart HOT 1
- Options arg not really optional? HOT 2
- TypeError: csv.replace is not a function
- Data Format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-csv.