HTML entities coming through email subject

Hi,
When I click the email pdf button for my invoices and it generates an email, the subject is the name of the invoice which is great.

The only problem is however, that apostrophes don’t show and instead something like this comes up:
Band to perform at Mark’s Club on New Year’s Eve

How can I get rid of this?
Thanks

hi ajgisme ,

any screenshot can you provide.

try this,

$return['subject'] = from_html($email->name);
try to use this from_html function .I think it might help you.