Hey all,
I'm writing an app, and it depends on having utf8 encoding in the HTTP
response. Trouble is I must be doing something wrong, because I am
getting illegal output. Safari show an error and firefox give me some
exiting mojibake. Is this user error? Or am I just too used to apache
handling this stuff for me?
Test case:
http://pastie.textmate.org/691519
> curl "
http://localhost:8000/" --trace t.txt
<html><head><meta http-equiv="Content-Type" content="text/html;
charset=utf-8"> <title>Hello</title></head>
<body>Il était tué.
curl: (56) Received problem 3 in the chunky parser
</body></htmlbusyfound-lm:~/dev/nodehacks
curl trace output:
http://pastie.textmate.org/691518