lfapi
changeset 7:3b08c5ed16e6
Added charset header to HTML output of registration page.
author | bsw |
---|---|
date | Mon Oct 24 21:18:35 2011 +0200 (2011-10-24) |
parents | cf05d9428ecc |
children | 97b15852803e |
files | lfapi/main.js |
line diff
1.1 --- a/lfapi/main.js Mon Oct 24 20:57:38 2011 +0200 1.2 +++ b/lfapi/main.js Mon Oct 24 21:18:35 2011 +0200 1.3 @@ -104,7 +104,7 @@ 1.4 ); 1.5 res.end(body); 1.6 } else if (mode == 'html') { 1.7 - var body = ['<html><head><title>lfapi</title><style>body { font-family: sans-serif; }</style></head><body>'] 1.8 + var body = ['<html><head><title>lfapi</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style>body { font-family: sans-serif; }</style></head><body>'] 1.9 body.push(object) 1.10 body.push('</body></html>') 1.11 body = body.join('');