utf8 content type flag
This commit is contained in:
parent
def8bbefd0
commit
b24d077d70
@ -12,7 +12,7 @@ function(head, req) {
|
||||
var headers = JSON.parse(unescape(req.query.headers))[0];
|
||||
var row, sep = '\n', headerSent = false, startedOutput = false;
|
||||
|
||||
start({"headers":{"Content-Type" : "text/x-csv"}});
|
||||
start({"headers":{"Content-Type" : "text/csv; charset=utf-8"}});
|
||||
send('"' + headers.join('","') + '"\n');
|
||||
while (row = getRow()) {
|
||||
for (var header in headers) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user