Unfortunately HTTP message Header doesn't have the same restrictions as the HTTP message body.
UTF-8 is supported in message body but not in the header (for historic and technical reasons). PHP urlencode
function is worth a try for headers but not sure it will improve things.
Allowed characters in HTTP header values https://stackoverflow.com/a/75998796/8199678