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

A

Axel Etzold

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
 
A

Axel Etzold

-------- Original-Nachricht --------
Datum: Sun, 7 Sep 2008 05:05:15 +0900
Von: "Axel Etzold" <[email protected]>
An: (e-mail address removed)
Betreff: 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

Found it: htmlentities.

Best regards,

Axel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top