Actually, it's called charset in the header, not encoding.