better unicode handling - fixes #347, i think

This commit is contained in:
Rich Harris
2018-09-02 23:00:39 -04:00
parent 8b60d568dc
commit 6ccae0cd33
3 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
export function get(req, res) {
res.writeHead(200, {
'Content-Type': 'application/json'
});
res.end(JSON.stringify(
"I'm afraid I just blue myself"
));
}