Convert special characters from HTML to utf-8 or iso-8859-1

Dear all,

is there a gem available that will transform things like “�” into
a long dash, “’” into an apostrophe and so on ?
I think someone posted about this about a week ago, but I can’t
absolutely find it anymore.

Thank you very much.

Best regards,

Axel

-------- Original-Nachricht --------

Datum: Sun, 7 Sep 2008 05:05:15 +0900
Von: “Axel E.” [email protected]
An: [email protected]
Betreff: Convert special characters from HTML to utf-8 or iso-8859-1

Axel

Found it: htmlentities.

Best regards,

Axel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs