Charset in Content-Type header

Issue #310