Email Template Error with spanish characters

I am sending a custom email, the custom template data is in Spanish. if the template is in the English language it’s working perfectly. but in Spanish language, it shows me unknown error. it’s not working if characters are like: ú, ó

Its not working with below code:

{{trans "%body" body="Transacción"|raw}} 

Error:

Unable to send mail: Unknown error