From b24d077d70ee479ad5fd9c1563f651216cf526ad Mon Sep 17 00:00:00 2001 From: maxogden Date: Fri, 29 Apr 2011 17:23:21 -0700 Subject: [PATCH] utf8 content type flag --- lists/csv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lists/csv.js b/lists/csv.js index a6816f8d..5b5cde83 100644 --- a/lists/csv.js +++ b/lists/csv.js @@ -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) {