Encoding question
I have been using Andy VanWagoner's CSV parse for a long time now, it always worked fine with 'regular' csv data, but recently I'm working with a CSV file provided by clients which contain typographic quotes.
The thing is, I'm able to read the files, and write these files with all characters preserved OK. However, with this file when the data is parsed as CSV and then stringified, then each typographic character turns into the weird characters.
I'm looking to find more information on this, and what's the reason for the characters being so converted in the code?
I am okay with doing what I'm doing right now :
Using this array to convert the characters which result after being parsed with the parser.
["Äú", "“"],
["Äù", "”"],
["Äô", "’"],
Of course the array is incomplete and I am not sure what we call either set of these when it comes to their encoding kind. What is "Äú" ?
Does anyone have a good way to deal with this to include other characters like this which may eventually come up?
