Linked Questions

210 votes
23 answers
167k views

I am programmatically exporting data (using PHP 5.2) into a .csv test file. Example data: Numéro 1 (note the accented e). The data is utf-8 (no prepended BOM). When I open this file in MS Excel is ...
Freddo411's user avatar
  • 2,353
98 votes
6 answers
90k views

I need to add a UTF-8 byte-order-mark to generated text data on client side. How do I do that? Using new Blob(['\xEF\xBB\xBF' + content]) yields '"my data"', of course. Neither did '\uBBEF\x22BF'...
Kijewski's user avatar
  • 26.1k
28 votes
7 answers
46k views

I recently added a CSV-download button that takes data from database (Postgres) an array from server (Ruby on Rails), and turns it into a CSV file on the client side (Javascript, HTML5). I'm currently ...
Ji Mun's user avatar
  • 1,840
2 votes
2 answers
5k views

I have some string need to be a UTF-16 text file. For example: var s = "aosjdfkzlzkdoaslckjznx"; var file = "data:text/plain;base64," + btoa(s); This will result a UTF-8 encoding text file. How can I ...
Wilson Luniz's user avatar
6 votes
1 answer
9k views

I try to create a CSV-File download with Javascript. We need to export Data from our Website to a 3rd party Program, the creation and download works pretty well. There is just one Problem, I need the ...
Petschko's user avatar
  • 178
1 vote
1 answer
9k views

Im trying to export String data to CSV using unicode in JavaScript using UTF-8 and \uFEFF. The problem is when the CSV file build he take the string after comma , and the first cell filled with this ...
user3520259's user avatar
2 votes
1 answer
6k views

Hi I am generating a CSV file based on some filtered data in my angular web app. The input I am sending to my csvString is: Torup Bakkegård (Middelfartvej 105); Coop Brøndby; (Holkebjergvej 54); The ...
Talnaci Sergiu Vlad's user avatar
5 votes
2 answers
981 views

I am trying hebrew csv file using javascript on Chrome extension. But I got failed string. Here is my code snippet. var csv = "Phone\nאני אוהב אותך\n"; var file = new Blob([csv], {type: 'text/csv;...
Eric Chan's user avatar
  • 1,222
0 votes
1 answer
870 views

I am doing a CSV export using jquery. My values have special characters in them. Also I need to use the separator as semi-colon. My code is: var array= []; array.push("Item;Name;Value"); array.push(...
ajain's user avatar
  • 488
0 votes
2 answers
1k views

I have no idea what the issue is, I am completely new in Angular. I am trying to read a local .csv file and write it's contents into a table. All that works, except for the fact that all my special ...
user avatar
1 vote
0 answers
850 views

When I save the CSV file I get the hebrew in gibrish, this is the code' I trying to put UTF-8 but still get gibrish. var data = [ ['שם פרטי', 'programmer'], ['שם משפחה', 'bus driver'], ...
user3576727's user avatar
1 vote
1 answer
347 views

I'm currently exporting data (on the client side) to CSV, with specific utf-8 encoding var csvContent = "data:text/csv;charset=utf-8,"; arr.forEach(function(infoArray, index){ var dataString = ...
kwn's user avatar
  • 919
0 votes
0 answers
35 views

Logically copying a data from MS word and posted it in PostgreSQL database through some web user interface. After posting the value when I take a CSV export and fetching the value I posed earlier, ...
Johnson Anthony's user avatar