Ensure headers are always UTF-8.

Possible fix for Bug #13456