fix character encoding at header string