1.9.3-p385 :020 > title = Recipe.find(12934).title
=> "The River Café's Strawberry Sorbet"
1.9.3-p385 :021 > title.encode('ISO-8859-1', 'utf-8')
=> "The River Caf\xC3\xA9's Strawberry Sorbet"
1.9.3-p385 :022 > puts _
The River Café's Strawberry Sorbet
=> nil
Last active
December 15, 2015 05:09
-
-
Save hoffm/5207153 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment