A quote character inside token

Hello,

I am passing a string with a quote character inside a token as the subject of an email.
image

However, when the email is sent out, the single quote character is shown as unicode.
image

Would you know how to escape that?

Thanks.