Skip to content

Instantly share code, notes, and snippets.

@gotjosh
Created October 13, 2011 18:24
Show Gist options
  • Select an option

  • Save gotjosh/1285026 to your computer and use it in GitHub Desktop.

Select an option

Save gotjosh/1285026 to your computer and use it in GitHub Desktop.
Accuted words in rails strings
I have the following line in a Rails mailer:
:subject => "Promoción Octubre Mes del Control de la Línea en Figurella!"
Notice how the words promocion and linea have accuted letters. I tried using html encoded characters but that didn't solve my problem also the magic string # encoding: utf-8 on top of the mailer class and neither. Any ideas on how can i accomplish this, because the app keeps crashing whenever i try to send an email.
Thank You!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment