Restored the head charset indication

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>