How to Convert Html Entities to Ascii Chararcters

Is there anyone who knows how to do this…

I am having a hard time finding it how.

Any help is appreciated.
thanks in advance

please provide a few examples of input and output.


On 8 January 2012 22:24, Christian Bautista <

Thanks for your reply

this is the sample input

�!�Hello World '!'

I want this to be converted to a Ascii so maybe I can make a dot matrix
printer read the ascii code.

What I need is to generate a report to a dot matrix printer…

Hope you can help me…

On Mon, Jan 9, 2012 at 11:38 AM, Charles A. Lopez

Which is greater, the number of html entities or the number of Ascii

On 8 January 2012 22:50, Christian Bautista <
[email protected]> wrote:

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at

Thank you… I just found the answer. thanks :slight_smile:

On Mon, Jan 9, 2012 at 11:55 AM, Charles A. Lopez