Fixed problem with unicode strings in headers.