$ perl -e 'print "¿\n"' > uu $ xxd uu 00000000: c2bf 0a $ curl --silent --head 'http://localhost/' | grep 'Content-Type' Content-Type: text/html; charset=utf-8