Set proper content-type and encoding.

Otherwise non-latin sites will have borked characters.