aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-03 11:05:48 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-03 11:05:48 +0100
commit6f7b2a92ea1c8c93b8599ea7e1633e4a4de9c2d6 (patch)
tree89e8e380cd1182e015dabaa8f3993e70d4956126 /lib/logger.js
parentd24b3a694ba086c5e1ebae49dff99cf0a59b59f8 (diff)
downloadbugzilla-triage-6f7b2a92ea1c8c93b8599ea7e1633e4a4de9c2d6.tar.gz
Generated time sheets should be explicitly marked as UTF-8
Diffstat (limited to 'lib/logger.js')
-rw-r--r--lib/logger.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/logger.js b/lib/logger.js
index 94f7031..08ef87a 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -80,7 +80,9 @@ function timeSheetRecordsPrinter(records) {
// sort the records into temporary array
var tmpArr = [];
var outStr = '<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">' +
- "<html><head><title>Status report</title></head><body>" +
+ "<html><head>\n"+
+ "<meta http-equiv='Content-type' content='text/html;charset=utf-8'/>\n"+
+ "<title>Status report</title>\n</head>\n<body>\n" +
"<h1>TimeSheet</h1>\n";
for (var i in records) {